hexo中npm WARN checkPermissions Missing write access

删除 node_modules包
然后npm install
然后再deploy d即可

这个问题真是闹心死我了

https://github.com/npm/npm/issues/17444

网上又有人说是vs code占用了,所以最好把vs code也暂时关掉
我这样做之后就好使了


还有说加环境变量的,也就是把博客地址.bin加进path中

这里写图片描述

也就是这个


还有说把c盘的npm-cache和npm删掉的,这个慎选!


还有说加权限的

更多的说是要
npm install hexo-deployer-git
挨个试一下吧 但是删c盘文件是最后选择啊!!

原文地址:https://www.cnblogs.com/suedar/p/8506315.html