creating new project throws error on windows
Answered
Longtail tuna posted this in #help-forum
Longtail tunaOP
how to resolve this error ?
using
node -v
v18.17.0
npm -v
9.6.7
npx create-next-app@latest running this command in cmd throws errornpm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:\Users\Max\AppData\Roaming\npm
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\Max\AppData\Roaming\npm'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoentusing
node -v
v18.17.0
npm -v
9.6.7
1 Reply
Longtail tunaOP
after downgrading node to
v18.15.0 worksAnswer