Next.js Discord

Discord Forum

Cannot Get My Next.Js Server to Build

Answered
Acorn-plum gall posted this in #help-forum
Open in Discord
Acorn-plum gallOP
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 Acorn-plum gall
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
Acorn-plum gallOP
thanks, i tried that but it didn't work
Acorn-plum gallOP
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