hexo g报错
我执行hexo g时显示 ERROR Script load failed: themes/hexo/scripts/index.js Error: Cannot find module 'lodash.pick' 请问是什么回事,用官方的主题没问题
https://github.com/EYHN/hexo-theme-one/blob/master/docs/setup.md
本主题需要额外安装模块:lodash.pick
在hexo目录中运行
npm i lodash.pick --save 完成安装即可,无需更多设置。
谢谢 但是我hexo g后接着hexo s打不开本地预览,网页显示空白,然后我执行了clean再试一遍还是不行,没有挂代理,尝试换下端口也不行 不好意思,又得麻烦了
请提供浏览器控制台报错和hexo报错
都没有报错,hexo显示正常,浏览器也没有报错,就是进不去,一直是空白,chrome浏览器
cc@cc-PC:/media/cc/下载/linux/c++/Git/MyBlog_Md/新建文件夹$ hexo g INFO Start processing INFO Files loaded in 233 ms INFO Generated: api/site.json INFO Generated: index.html INFO Generated: archives/index.html INFO Generated: archives/2018/index.html INFO Generated: 2018/02/02/hello-world/index.html INFO Generated: archives/2018/02/index.html INFO Generated: post/hello-world/index.html INFO Generated: search/index.html INFO 8 files generated in 224 ms cc@cc-PC:/media/cc/下载/linux/c++/Git/MyBlog_Md/新建文件夹$ hexo s INFO Start processing INFO Hexo is running at http://localhost:4000/. Press Ctrl+C to stop.

浏览器开发者工具里有没有报错
有一个

你配置文件有改名吗? https://github.com/EYHN/hexo-theme-one/tree/master/docs 按照文档一步一步做的?