Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
NextJS build Fails Only In CI - Can't find module - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
2 replies
Mendy
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/
apps/
└── nextjs/
├── public/
└── src/
└── pages/
Theo's Typesafe Cult
Join
26,131
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
next dont build in github ci
TTC
Theo's Typesafe Cult / questions
3y ago
Can you use NextJS rewrites *only* in development?
TTC
Theo's Typesafe Cult / questions
3y ago
Vercel build: Module not found: Can't resolve '../build/Release/canvas.node'
TTC
Theo's Typesafe Cult / questions
3y ago