当我执行npm start时,我的React应用程序没有问题,但是当我执行npm build运行时,出现以下错误。有谁知道我的问题是什么。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! argon-dashboard-react@1.0.0 build: `react-scripts build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the argon-dashboard-react@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:\Users\Username\AppData\Roaming\npm-cache\_logs\2020-01-22T12_20_16_415Z-debug.log