Kevin Rodrigues
Kevin Rodrigues

Reputation: 73

npm init not working while creating new project

I'm creating a new project using npm init. But while running the command 'npm init -y', I get the error shown below. enter image description here

Any solutions as to what might be the issue.

Upvotes: 3

Views: 388

Answers (1)

Ran Turner
Ran Turner

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

Related Questions