[英]ng:command not found in node v6.9.1
I am trying to execute an ng command in angular-cli project in my windows 10 PC. 我正在Windows 10 PC的angular-cli项目中尝试执行ng命令。 node v6.9.1
节点v6.9.1
Still it says as in the picture. 仍然如图片所示。
Need help with the issue. 在此问题上需要帮助。
PS- can't use any of the ng commands.( ng gc /componentName/, ng build) PS-不能使用任何ng命令。(ng gc / componentName /,ng build)
Edited - 编辑-
检查是否将npm path添加到系统变量路径中,我安装了npm v4.0.2,我只是简单地做了一个npm install npm @ latest -g并再次安装了angular-cli -g现在它可以工作了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.