-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command not found: hexo #206
Comments
通过删掉.npm文件夹,重新安装hexo后问题修复。 |
你在哪里删除的.npm 文件夹? |
@duyutaochn linux的home目录下,即~/.npm |
没有删这个文件夹我也解决了,用n控制了node的版本号,sudo npm install g hexo,就好了。 |
每次重启终端都有这个错误,nvm是v0.10.33的。咋回事儿呢?重装hexo后还是这样。 |
一情况是没有指定node的版本所致。可以使用下面命令解决: nvm lsv0.10.35 nvm use 0.10.35Now using node v0.10.35 nvm alias default 0.10.35default -> 0.10.35 (-> v0.10.35) |
个人推荐,使用全局安装
|
Do not use |
@JLHwung |
今天更新了一下nvm,之后又更新了hexo,结果再使用hexo的时候出现:
command not found: hexo
的提示,可能是什么原因导致的呢?我用的操作系统是linux-mint14。The text was updated successfully, but these errors were encountered: