$ hexo cleanERROR Local hexo not found in G:testERROR Try running: 'npm install hexo --save'
How to solve it
It has been solved. There is .git in the internal file, so if this error occurs, just delete it
A solution that worked for me to is removing the node_modules/ directory and reinstall it, so run:rm -rf node_modules/ && npm install
以上,解决了。
It has been solved. There is .git in the internal file, so if this error occurs, just delete it
A solution that worked for me to is removing the node_modules/ directory and reinstall it, so run:
rm -rf node_modules/ && npm install
以上,解决了。