DEV Community

Thiago
Thiago

Posted on

error to install next.js

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\mariobros\AppData\Roaming\npm

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

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More