reinstall nodejs 后跑不到 command

现象 : 

node -v 可以跑 , ng new 这些就跑不到 (确保已经安装了 global cli)

那多半是 path 的问题 

https://stackoverflow.com/questions/27864040/fixing-npm-path-in-windows-8-and-10

找出安装的 path 

 

 然后去 set 就可以了

 

posted @ 2020-01-01 10:08  兴杰  阅读(235)  评论(0编辑  收藏  举报