0
我已经在全局角度安装了角度/ cli,并且当我在节点命令提示符中写入'ng -v'时提示其工作正常,但当我使用相同的目录时git bash抛出错误'ng不是命令'。Ng不在gitbash中工作,但在节点命令提示符下工作正常
我也卸载,并再次安装所有的依赖关系和清除缓存也,这个问题似乎不时。
this is my Environment variable:-
%SystemRoot%\system32\WindowsPowerShell\v1.0\;C:\Program Files
(x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS
Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine
Components\IPT;C:\Program Files\nodejs\;C:\Program Files
(x86)\Skype\Phone\;C:\Program Files\MongoDB\Server\3.4\bin;C:\Program Files
(x86)\Git\bin;C:\Program Files (x86)\Git\cmd;C:\Program Files\Microsoft VS
Code\bin;c:\Users\Me\AppData\Roaming\npm\; C:\Program
Files\nodejs\node_modules\npm\bin;C:\Program Files\nodejs
this the screeshot of the error.