ERROR in [copy-webpack-plugin] unable to locate ‘F:\xxx‘ Build failed with errors

The following problem occurred when running npm run build

ERROR in [copy-webpack-plugin] unable to locate 'F:\毕业设计\项目\前端\Warning-Vue\static' at 'F:\毕业设计\项目\前端\Warning-Vue\static'

  Build failed with errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! warningvue@1.0.0 build: `node build/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the warningvue@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\dell\AppData\Roaming\npm-cache\_logs\2022-03-30T13_38_43_930Z-debug.log

The screenshot is as follows:
insert image description here
The reason is that I accidentally put the static folder under the src folder, so I can’t find static when building, just take it out
insert image description here

Guess you like

Origin blog.csdn.net/qq_44114147/article/details/123858144