npm init not working and getting stuck on version
I am having the same problem. However to by-pass and create the package.json file you can use the -y flag and this creates a file with defaults that you can edit later
I am having the same problem. However to by-pass and create the package.json file you can use the -y flag and this creates a file with defaults that you can edit later
UPDATE based on comment discussion: IIRC npm init just wants to know what it should write to the attributes of the repository key in package.json. This is optional, so if you don’t have a URL you want to publish in the package.json you should just be able to hit enter and move on. In the … Read more