Next.js Discord

Discord Forum

Trouble importing starter-example

Answered
Chongqing dog posted this in #help-forum
Open in Discord
Chongqing dogOP
Hi, can anyone assist me in fixing my issue,

npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:\Users*hidden\AppData\Roaming\npm
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users*hidden
\AppData\Roaming\npm'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

When trying to run the starter command on the 'learn' wiki?

Thanks
Answered by Chongqing dog
Fixed by running
npm i -g npm@latest

In the terminal 🙂
View full answer

1 Reply

Chongqing dogOP
Fixed by running
npm i -g npm@latest

In the terminal 🙂
Answer