search

Home  >  Q&A  >  body text

node.js - hexo安装完无法使用git bash, 提示路径出错,怎么修改?


这是我的hexo,跟node的路径

PHP中文网PHP中文网2783 days ago430

reply all(3)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 15:30:32

    You haven’t installed hexo yet

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 15:30:32

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

    reply
    0
  • PHPz

    PHPz2017-04-17 15:30:32

    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

    reply
    0
  • Cancelreply