zoukankan      html  css  js  c++  java
  • bash: hexo: command not found

    问题

    很久没写博客了,今天用hexo新建文章时git报错:

    bash: hexo: command not found

    解决办法

    百度之后,将D:WorkingSoftwareGithubBlog ode_modules.bin添加进PATH,问题解决。

    加的时候发现path里确实没有这个路径.....…..不知道为什么会没有

    路径中的GithubBlog是我的博客文件夹,你用的时候改成你的路径,即XXX你的Blog目录XXX ode_modules.bin

    原因

    可能是因为我今天更新npm了?

    或者是因为我这两天改了计算机用户名(用户名在其他地方用到了,中文是宽字符,会出错),造成了很多麻烦,差点edge都坏了。

    所以告诫大家用户名尽量一开始就用英文,不要用中文

  • 相关阅读:
    数数小木块
    Triangular Sums
    Financial Management
    阶乘因式分解(一)
    另一种阶乘问题
    韩信点兵
    Fibonacci数
    A+B Problem
    16进制的简单运算
    浅谈数据库之事务
  • 原文地址:https://www.cnblogs.com/chouxianyu/p/11270055.html
Copyright © 2011-2022 走看看