Solve Error: Local hexo not found in xxx


Sometimes your hexo environment may get fucked up, may give you the following errors:

ERROR Local hexo not found in /YourProjectPath/

ERROR Try running: 'npm install hexo --save'

But running npm install hexo --save not solving the issue, so try the following solutions:

Solution One:

Try sudo npm install -g hexo

Solution Two:

Try rm -rf node_modules/ && npm install


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM