作者:农大军乐团_697 | 来源:互联网 | 2023-09-02 16:40
在vue项目中,打包运行npmrunbuild报错,代码如下Error:EPERM:operationnotpermitted,unlinkC:Userswangyuc
在vue项目中,打包运行npm run build报错,代码如下
Error: EPERM: operation not permitted, unlink 'C:UserswangyuchiPicturesxufadiststaticimg20180508134210.5d873f5.jpg'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! xufast@1.0.0 build:
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the xufast@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:UserswangyuchiAppDataRoamingnpm-cache_logs2018-05-15T01_53_53_769Z-debug.log
但是npm run dev是没有问题的,应该如何解决?