Cannot Get My Next.Js Server to Build
Answered
bear posted this in #help-forum
bearOP
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.
4 Replies
@bear 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?
does the file
E:\Git\Flash Royale \Root\server\node_modules\next\dist \pages\app.js
exist and is it a file or a directory?i would try wiping your
node_modules
and reinstall dependencies againbearOP
thanks, i tried that but it didn't work
bearOP
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