npm install

From wikieduonline
(Redirected from Npm i -g)
Jump to navigation Jump to search

Install[edit]

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

Package examples[edit]


[-g|--global]

Errors[edit]

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[edit]

See also[edit]

  • https://blog.npmjs.org/post/171556855892/introducing-npm-ci-for-faster-more-reliable
  • https://docs.npmjs.com/cli/v8/commands/npm-ci
  • Advertising: