问题: could not be created: Error: EPERM: operation not permitted, open ‘D:\Program Files (x86)\nodejs\node_cache_logs\2022-05-16T06_34_08_238Z-debug-0.log’
could not be created: Error: EPERM: operation not permitted, open ‘D:\Program Files (x86)\nodejs
问题: could not be created: Error: EPERM: operation not permitted, open ‘D:\Program Files (x86)\nodejs\node_cache_logs\2022-05-16T06_34_08_238Z-debug-0.log’报错原因:npm没有使用权限解决办法第一种: 以管理员身份打开控制台这种方法偶尔使用没问题,但是要经常使用就很麻烦第二种: 在node的安装位置,将文件夹 node_cache和node_glo