ERROR Local hexo not found in ~\Documents\tellyouwhat.cn
ERROR Try running: 'npm install hexo --save'
执行npm install,报错如下:
npm WARN deprecated titlecase@1.1.2: no longer maintained
npm ERR! Unexpected end of JSON input while parsing near '...ylish":"^1.0.0","moch'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\xxxxxx\xxx.log
OS: win10 1803
node: 8.11.3
npm: 5.6.0
博客已经正常运行几天了,在装您这个插件之前代码没有任何问题。
使用
npm install hexo-translate-title --save
命令之后,package.json
被多加了一条,这没问题,然后在配置文件_config.yml
里面加上相关配置之后,当我执行hexo s
的时候报错如下:执行
npm install
,报错如下:感觉node_module被破坏了
重新在某处
hexo init xxx
,把node_module文件夹替换过来,就正常了,但是依旧无法使用您开发的插件。如果执行按照提示
npm install hexo --save
再执行
hexo s
报错如下: