Difference between revisions of "Npm install"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(4 intermediate revisions by the same user not shown)
Line 26: Line 26:
 
* <code>[[npm install --save jaeger-client]]</code>
 
* <code>[[npm install --save jaeger-client]]</code>
 
* <code>[[npm install --save sequelize]]</code>
 
* <code>[[npm install --save sequelize]]</code>
 +
* [[npm install --save-dev @wagmi/cli]]
 
* <code>[[npm]] install [[detox]]</code>
 
* <code>[[npm]] install [[detox]]</code>
 
* <code>[[npm install --only=production]]</code>
 
* <code>[[npm install --only=production]]</code>
Line 46: Line 47:
 
** <code>npm i -g [[npm@7]]</code>
 
** <code>npm i -g [[npm@7]]</code>
 
** <code>npm i @[[sharemint]]/sdk</code>
 
** <code>npm i @[[sharemint]]/sdk</code>
 +
 +
* [[npm install hardhat]]
  
  
Line 52: Line 55:
 
== 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
 +
</pre>
  
 
== Related ==
 
== Related ==
Line 60: Line 75:
 
* <code>[[brew install npm]]</code>
 
* <code>[[brew install npm]]</code>
 
* <code>[[vsts-npm-auth -config .npmrc]]</code>
 
* <code>[[vsts-npm-auth -config .npmrc]]</code>
* [[package.json]]
+
* <code>[[package.json]]</code>
* [[npm test]]
+
* <code>[[npm test]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 10:27, 8 November 2024

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: