Difference between revisions of "Npm install"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 52: Line 52:
 
== Errors ==
 
== Errors ==
 
* <code>[[npm ERR! code E401 Incorrect or missing password]]</code>
 
* <code>[[npm ERR! code E401 Incorrect or missing password]]</code>
 +
 +
<pre>
 +
npm install -g [email protected]
 +
npm ERR! code EBADENGINE
 +
npm ERR! engine Unsupported engine
 +
npm ERR! engine Not compatible with your version of node/npm: [email protected]
 +
npm ERR! notsup Not compatible with your version of node/npm: [email protected]
 +
npm ERR! notsup Required: {"node":"^18.17.0 || >=20.5.0"}
 +
npm ERR! notsup Actual:  {"npm":"9.7.2","node":"v20.4.0"}
 +
 +
npm ERR! A complete log of this run can be found in: /Users/user/.npm/_logs/2024-03-28T09_33_24_506Z-debug-0.log
 +
</code>
  
 
== Related ==
 
== Related ==

Revision as of 09:34, 28 March 2024

Install

npm install --registry https://registry.npmjs.org

Package examples


[-g|--global]

Errors

npm install -g [email protected]
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Required: {"node":"^18.17.0 || >=20.5.0"}
npm ERR! notsup Actual:   {"npm":"9.7.2","node":"v20.4.0"}

npm ERR! A complete log of this run can be found in: /Users/user/.npm/_logs/2024-03-28T09_33_24_506Z-debug-0.log


Related

* Clean install: npm ci[1][2] * npm run build * yarn install * npm list * brew install npm * vsts-npm-auth -config .npmrc * package.json * npm test

See also

* npm install: npm install -g npm, brew install npm, npm ci * npm, npx, npm [ init | audit | install | link | config | token | start | publish | run start | update | rebuild | ci | run build ] .env/, list | ls | --version , package.json, $HOME/.npmrc, npm help, NPM Registry, npm ERR!

Advertising: