keep getting Build error or similar error when i try to run/build my website
Answered
Saltwater Crocodile posted this in #help-forum
Saltwater CrocodileOP
here's the error from npm run build:
Answered by Saltwater Crocodile
weird now it seems its working after reinstalling node
10 Replies
Saltwater CrocodileOP
i already tried uninstalling every npm package and reinstalling, it didnt fix
Toyger
try to remove
and what node version you have and what package manager use? npm/yarn/pnpm?
.next folder alsoand what node version you have and what package manager use? npm/yarn/pnpm?
@Toyger try to remove `.next` folder also
and what node version you have and what package manager use? npm/yarn/pnpm?
Saltwater CrocodileOP
weird now it seems its working after reinstalling node
Answer
Saltwater CrocodileOP
it was already on version 22 tho
Saltwater CrocodileOP
but now im having these issues along with one warning me about punycode being deprecatewd
@Toyger
@Saltwater Crocodile <@536484914221285376>
Toyger
you better use v20 LTS nodejs for nextjs.
@Toyger you better use v20 LTS nodejs for nextjs.
Saltwater CrocodileOP
oh
ight