首页 前端知识 npm ERR! The operation was rejected by your operating system. npm ERR! It‘s possible that the file w

npm ERR! The operation was rejected by your operating system. npm ERR! It‘s possible that the file w

2024-09-10 23:09:08 前端知识 前端哥 925 640 我要收藏
devEco安装报错:npm ERR! The operation was rejected by your operating system. npm ERR! It's possible that the file was already in use (by a text editor or antivirus), npm ERR! or that you lack permissions to access it. npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator.  npm ERR! Log files were not written due to an error writing to the directory: D:\node\node_cache\_logs npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal

解决方法:

修改nodejs安装路径下"node_cache","node_global"路径,修改方法:右键,属性,安全,user,编辑,全部勾选

然后重新打开deveco

转载请注明出处或者链接地址:https://www.qianduange.cn//article/18124.html
标签
评论
发布的文章

jQuery 选择器

2024-05-12 00:05:34

cdn引入前端插件

2024-10-13 20:10:14

大家推荐的文章
会员中心 联系我 留言建议 回顶部
复制成功!