Questions tagged [npm-init]

npm init is the command used to create a package.json for new modules.

Reference:

49 questions
-1
votes
1 answer

Package release issue

npm notice Publishing to https://registry.npmjs.org/ npm ERR! code E403 npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/demo-package - You do not have permission to publish "demo-package". Are you logged in as the correct user? npm ERR!…
-1
votes
1 answer

Problem with npm install --global http-server

I'm trying to install a test server in vscode using npm install --global http-server, after I cd to my current folder where my code is, when I run the command I'm supposed to get a node_modules folder and then I should run npm init to get…
Arialita
  • 15
  • 1
  • 5
-1
votes
2 answers

Creating React app failed. I used npm init react-app my-app

Please, someone help me with this Error: I used npm to create the React app. I can not use npx create-react-app, because is takes more than 40 min to create the app even with high speed internet. node - v14.17.3 npm - 7.20.0 browser -…
log2
  • 1
  • 3
-2
votes
2 answers

What is the difference between "npm init " and "git init "?

sometimes I get confused what is the differences between npm init and git init when I want to start a project. I do not know where and when I should use each of them? Can I use them together or I should use them separately? Should I use them just…
Ellie
  • 41
  • 5
1 2 3
4