Cannot Get My Next.Js Server to Build
Answered
Acorn-plum gall posted this in #help-forum
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.
4 Replies
@Acorn-plum gall 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 againAcorn-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