npm安装报错(operation not permitted, mkdir 'C:\ProgramFiles\nodejs\node_cache\_cacache')
npm安装报错(operation not permitted, mkdir ‘C:\Program Files\nodejs\node_cache_cacache’)今天安装abbrlink 插件的时候突然报错
npm install EPERM: operation not permitted, mkdir ‘D:\nodejs\node_cache_cacache’
看了下报错内容,是没权限啊,于是按照网上的教程修改nodejs 文件夹的权限,修改完之后发现还是报这个错误。
又查看了下解决方法,删除c盘用户文件夹下的.npmrc 隐藏文件即可。
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment