homebrew安装成功,brew list执行后有node,依然zsh: command not found: npm
或者env: node: No such file or directory的解决办法:
依次执行:
brew uninstall node
brew update
brew upgrade
brew cleanup
brew install node
`brew link --overwrite node·
·brew postinstall node·
此时执行node -v查看是否成功
网友评论