在成功安装npm -g后,它不会被重新整合为内部命令。

时间:2022-04-25 19:03:30

When I installed ungit and imageoptim-cli with npm After I succefully had install :

安装成功后,我将ungit和imageoptim-cli与npm一起安装:

npm install -g <name>

And I got :

我:

<name>@<version>: <directory path>

when I call

当我打电话给

name

in command line It said that 'name' is not reconized as an internal command .. Need help, .. please .. Thanks ..

在命令行中,它说“name”不作为内部命令重新合并。需要帮助,. .请. .谢谢. .

1 个解决方案

#1


0  

You were right. I added global nodemodul path 'C:\Users\my_name\npm' to my environement variables and now I get it working !! Thanks !

你是对的。我将全局节点路径C:\用户my_name\npm添加到我的环境变量中,现在我可以运行它了!谢谢!

#1


0  

You were right. I added global nodemodul path 'C:\Users\my_name\npm' to my environement variables and now I get it working !! Thanks !

你是对的。我将全局节点路径C:\用户my_name\npm添加到我的环境变量中,现在我可以运行它了!谢谢!