Next.js Discord

Discord Forum

Cannot Get My Next.Js Server to Build

Answered
bear posted this in #help-forum
Open in Discord
I am using OpenNext and Cloudflare workers but I do not see how that could cause my build to fail. I have asked every ChatGPT a million times and tried a million different things but every time I go to build my app it fails and gives the error in the screenshot. What should I do?
Answered by bear
for anyone finding this post in the future, the solution is to use the C drive or any other drive that uses NTFS. exFat and fat32 etc will not work. If you are on mac idk what to do but id imagine the mac exculsive type will work. same for linux.
View full answer

4 Replies

i would try wiping your node_modules and reinstall dependencies again
thanks, i tried that but it didn't work
for anyone finding this post in the future, the solution is to use the C drive or any other drive that uses NTFS. exFat and fat32 etc will not work. If you are on mac idk what to do but id imagine the mac exculsive type will work. same for linux.
Answer