node.js - hexo安装完无法使用git bash, 提示路径出错,怎么修改?
PHP中文网
PHP中文网 2017-04-17 15:28:32
0
3
444


这是我的hexo,跟node的路径

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(3)
伊谢尔伦

You haven’t installed hexo yet

小葫芦

Have you installed hexo-cli with the -g option?

PHPzhong

I have encountered this too and haven’t found a good solution.
Here is a temporary solution:
Find the node_modules folder in your C drive user directory. There is hexo installed globally. Just copy the node_modules folder to the Git installation directory and you can use it normally.

The reason why it is temporary is because as long as it is a globally installed package, it must be copied before it can be used

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