npm WARN logfile could not be created: Error: EPERM: operation not permitted, open 'D:\Program Files\nodejs\node_cache\_logs\2022-06-24T13_02_26_608Z-debug-0.log'
> @3.1.0 build
> rimraf dist && npm run build:client && npm run build:server
npm WARN logfile could not be created: Error: EPERM: operation not permitted, open 'D:\Program Files\nodejs\node_cache\_logs\2022-06-24T13_02_27_984Z-debug-0.log'
> @3.1.0 build:client
> node build/build.js
文件名、目录名或卷标语法不正确。gfile could not be created: Error: EPERM: operation not permitted, open 'D:\Program Fil
缓存问题
删除
运行 npm config list
找到 ;npmrc
删除; .npmrc