npm install --global yarn

From wikieduonline
Jump to navigation Jump to search

npm install --global yarn

added 1 package, and audited 2 packages in 830ms

found 0 vulnerabilities
npm notice
npm notice New minor version of npm available! 8.15.0 -> 8.17.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.17.0
npm notice Run npm install -g [email protected] to update!
npm notice 


Errors[edit]

npm install --global yarn
npm ERR! code ENETUNREACH
npm ERR! errno ENETUNREACH
npm ERR! request to https://registry.npmjs.org/yarn failed, reason: connect ENETUNREACH xx.xx.18.35:443 

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-02-15T21_13_29_783Z-debug.log
npm install --global yarn
Command 'npm' not found, but can be installed with:
apt install npm
yarn
-bash: /usr/bin/yarn: No such file or directory

Related[edit]

nvm install node
/usr/local/bin/yarn

See also[edit]

Advertising: