Hexo s 提示 Local hexo not found in XXX 的解决方法
2017-10-20 15:43
387 查看
文章可能更新不及时,建议去原文
需要转移 Hexo 文件到另外一台电脑,把 Hexo 文件夹里的所有文件复制到另一台电脑上,配置好 Hexo,最后
的解决方法
1.删除
2.执行
如果执行后只有光标一直在闪,没有任何反应,输入
来安装国内的
安装时间比较久,可能会没反应,多等一会
安装完之后,输入
3.再
需要转移 Hexo 文件到另外一台电脑,把 Hexo 文件夹里的所有文件复制到另一台电脑上,配置好 Hexo,最后
hexo s时却提示
ERROR Local hexo not found in G:\XcantloadX ERROR Try running: 'npm install hexo --save'
的解决方法
解决方法
查找资料后,得知是因为node_modules文件夹的原因,需要删除重新安装
1.删除
node_modules文件夹
2.执行
npm install
如果执行后只有光标一直在闪,没有任何反应,输入
npm install cnpm -g --registry=https://registry.npm.taobao.org
来安装国内的
淘宝 NPM 镜像
安装时间比较久,可能会没反应,多等一会
安装完之后,输入
cnpm install,时间也比较久
3.再
hexo s就不会报错了
相关文章推荐
- Android studio中打包apk出现"XXX" is translated here but not found in default locale的解决问题的方法
- python2安装PIL等第三方库提示Python version 2.7 required, which was not found in the registry的解决方法
- 用Hexo写博客 - ERROR Local hexo not found in xxx
- eclipse打包apk时提示the zipalign tool was not found in the sdk解决方法
- php使用ZipArchive提示Fatal error: Class ZipArchive not found in的解决方法
- Nginx 提示host not found in upstream 错误解决方法
- php使用ZipArchive提示Fatal error: Class ZipArchive not found in的解决方法
- debian中xxx is not in the sudoers file解决方法
- 【Linux学习】Linux报“xxx is not in the sudoers file.This incident will be reported” 错误解决方法
- 关于在开发板上运行程序显示“-bin/sh:/XXX not found”的解决方法
- U盘安装CentOS7系统 提示No Caching mode page found /dev/root does not exist错误的解决方法
- 普通用户开通sudo权限:xxx is not in the sudoers file.This incident will be reported.的解决方法
- Linux报“xxx is not in the sudoers file.This incident will be reported” 错误解决方法
- xxx is not in the sudoers file解决方法
- xxx is not translated in yyy, zzz 的解决方法
- LINQ:row not found or changed.错误提示可能的解决方法之一
- xxx is not in the sudoers file.This incident will be reported.的解决方法
- Linux遇到的问题(一)Ubuntu报“xxx is not in the sudoers file.This incident will be reported” 错误解决方法
- xxx is not in the sudoers file.This incident will be reported.的解决方法
- xxx is not in the sudoers file.This incident will be reported.的解决方法