在我的反应应用程序 npm start 工作正常,但是当我运行 npm run build 命令时出现以下错误:
> node scripts/build.js
Failed to compile.
EPERM: operation not permitted, lstat 'D:\React\binks-react\build\favicon.ico'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! binks-react@0.1.0 build: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the binks-react@0.1.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:\Users\yuvraj\AppData\Roaming\npm-cache\_logs\2021-01-13T15_13_18_687Z-debug.log