You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using npm install -g yo to install Yeoman, as expected it should be installed successfully.
Current behavior
Installation failed with errors.
Steps to reproduce the behavior
npm install -g yo
Command line output
npm ERR! path /root/.nvm/versions/node/v17.4.0/lib/node_modules/yo
npm ERR! command failed
npm ERR! command sh -c yodoctor
npm ERR! sh: yodoctor: command not found
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-02-11T03_10_24_542Z-debug-0.log```
The text was updated successfully, but these errors were encountered:
I had similar problem on Ubuntu 22.04 using node v18.18.0 provided by snap. I installed yarn first and then installed yeoman by using the command sudo yarn global add yo. The installation completes successfully after that. No clue why the npm not able to complete the installation.
My environment
SLES15-SP1
v17.4.0
8.4.1
-bash: yo: command not found
Expected behavior
I'm using
npm install -g yo
to install Yeoman, as expected it should be installed successfully.Current behavior
Installation failed with errors.
Steps to reproduce the behavior
npm install -g yo
Command line output
The text was updated successfully, but these errors were encountered: