git cannot call module downloaded globally from npm
世界只因有你
世界只因有你 2017-05-02 09:51:56
0
1
780

As shown in the figure, the module installed globally by npm is placed in the path user/[帐号名]/AppData/Roaming/npm/node_modules,

Git can find the module from the path in the picture, so it cannot be found.

The question is how to make git correctly find the modules installed globally by npm?

世界只因有你
世界只因有你

reply all(1)
伊谢尔伦

If you want to check whether the global installation is successful, you can use gulp -v,
如果要在项目中使用gulp,需要在项目目录下运行 npm install gulp
查看相关目录用 cd [路径名],
比如你在 Desktopgulp文件下使用gulp的话,就在这个文件夹下运行npm install gulp

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template