$ hexo clean
ERROR Local hexo not found in G:test
ERROR Try running: 'npm install hexo --save'
How to solve it
某草草2017-05-02 09:50:28
It has been solved. There is .git in the internal file, so if this error occurs, just delete it
大家讲道理2017-05-02 09:50:28
A solution that worked for me to is removing the node_modules/ directory and reinstall it, so run:
rm -rf node_modules/ && npm install
以上,解决了。