DEV Community

Thiago
Thiago

Posted on

npm ERR! enoent ENOENT: no such file or directory, lstat

I was trying to install next.js using their tutorial and got this error message: "npm ERR! enoent ENOENT: no such file or directory, lstat C:\Users\mario\AppData\Roaming\npm

This problem can be fixed by creating an empty folder called "npm" at the directory C:\Users\mario\AppData\Roaming\

Top comments (0)