Difference between revisions of "Npm install --global yarn"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
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 == | ||
[[nvm install node]] | [[nvm install node]] | ||
+ | [[/usr/local/bin/yarn]] | ||
== See also == | == See also == |
Latest revision as of 09:50, 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[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]
yarn [ create | list | up | add | run | install | build | transpile | transpile-watch | wsrun| version | --help ]
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: