Difference between revisions of "Npm install"

From wikieduonline
Jump to navigation Jump to search
Line 46: Line 46:
 
** <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]]
  
  

Revision as of 10:58, 4 July 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: