Reputation: 73
I'm creating a new project using npm init. But while running the command 'npm init -y', I get the error shown below.
Any solutions as to what might be the issue.
Upvotes: 3
Views: 388
Reputation: 18146
I had that once, delete the node modules folder and try npm i
once again
rm -rf node_modules
npm i
Upvotes: 1