We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用
vfox install nodejs vfox use nodejs
后,全局安装 nodejs 依赖包:
npm install -g @angular/cli
使用ng --version会报错找不到命令。
ng --version
使用npm config get prefix可以看到全局包被安装到了current目录。该目录应该加入环境变量,以便使用 npm 全局安装的命令。
npm config get prefix
current
The text was updated successfully, but these errors were encountered:
没有报错呀
被安装到了current目录。该目录应该加入环境变量,
加入path了, 你配置Hook了吗?
https://vfox.lhan.me/zh-hans/guides/quick-start.html#_2-%E6%8C%82%E8%BD%BDvfox%E5%88%B0%E4%BD%A0%E7%9A%84shell
Sorry, something went wrong.
是说ng --version这个命令是报错的,您给出的截图也显示了红色的 Error。npm config get prefix返回的是ng命令被安装到了哪个目录。
ng
ng新版本用 ng v。😓
! 抱歉抱歉
No branches or pull requests
使用
后,全局安装 nodejs 依赖包:
使用
ng --version
会报错找不到命令。使用
npm config get prefix
可以看到全局包被安装到了current
目录。该目录应该加入环境变量,以便使用 npm 全局安装的命令。The text was updated successfully, but these errors were encountered: