NextJS build Fails Only In CI - Can't find module

I've spent hours trying to find the cause, any ideas?

Note, it's only happening for imports from the public directory.

My folder structure:
apps/
└── nextjs/
    ├── public/
    └── src/
        └── pages/
image.png
Was this page helpful?