yo
yo copied to clipboard
Can't install Yeoman despite up to date Node and Npm
Error
Yeoman previously successfully installed and ran on the computer. Yesterday it was noted the Yo commands were no longer found, nor the Yo version despite not being uninstalled or files altered since last use. An attempt has been made to reinstall yeoman as it was no longer recognised, but it now appears impossible to install.
My environment
-
OS version/details:
Mac OS Ventura 13.0.1
-
Node version:
v19.3.0
-
npm version:
9.2.0
-
Version of yo :
N/A
Expected behavior
- Update/Install Node to ensure up to date version
- Run npm install -g yo
- The terminal displays progress and confirms installation or shows an error
- Running yo --version reveals current version as proof of install
Current behavior
- Clean reinstall of Node via Homebrew to ensure no errors
- Run npm install -g yo
- Terminal doesn't indicate errors and appears successful installation
- Yo commands are unsuccessful and 'command not found' is displayed
Steps to reproduce the behavior
Follow Tutorials set out at https://yeoman.io/learning/ or in the github
install yo
npm install --global yo
install a generator
npm install --global generator-webapp
run it
yo webapp
Command line output
Installation:
npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm WARN deprecated [email protected]: This functionality has been moved to @npmcli/fs
npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
changed 719 packages in 10s
80 packages are looking for funding
run npm fund for details
But when checking version or trying to run other yo commands:
-bash: yo: command not found