next-on-pages not working on Windows
I'm on Windows and when I run
npm run pages:build
I get the following warning:
The problem is that it immediately opens a WSL instance and it's really unclear what to do. If I close it I get the following:
If I try to run npm run pages:build
directly inside WSL the result is the same. What can I do to test it locally?2 Replies
WSL will often try to be "smart" and run the executables on your windows machine if there is no executable with that name inside the WSL distro, have you checked that node/npm is installed inside the WSL instance and verified with
which npm
that the right one is being used?Sooo, I've reinstalled npm and it worked. I executed
npm start
and it started correctly but it seems unable to use the network? Every server side request hangs and shows