Difference between revisions of "Npm install --global yarn"

From wikieduonline
Jump to navigation Jump to search
Line 24: Line 24:
 
  Command 'npm' not found, but can be installed with:
 
  Command 'npm' not found, but can be installed with:
 
  [[apt install npm]]
 
  [[apt install npm]]
 +
 +
yarn
 +
-bash: [[/usr/bin/yarn]]: [[No such file or directory]]
  
 
== Related ==
 
== Related ==

Revision as of 09:48, 30 June 2023

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

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

nvm install node

See also

Advertising: