解决hexo init 一直停在"checking installable status"的问题
原因:
- 旧的npm缓存与项目冲突
解决方法:
-
步骤一
sudo npm cache clean -
如果是win下的cmd就直接
npm cache clean就行了 -
步骤二
npm config set registry https://registry.npm.taobao.org -
实测有效,之后就再次执行
hexo init xxx就完美解决了
步骤一
sudo npm cache clean
如果是win下的cmd就直接npm cache clean就行了
步骤二
npm config set registry https://registry.npm.taobao.org
实测有效,之后就再次执行hexo init xxx就完美解决了