Npm run build-xxx error report

problem description

always report
This dependency was not found:

when passing parameters using npm run build-- xxx
  • XXX in multi. / node_modules/_webpack-dev-server@2.9.7@webpack-dev-server/client? http://localhost:8090 webpack/hot/dev-server XXX

To install it, you can run: npm install-- save XXX

the environmental background of the problems and what methods you have tried

packageJson "start": "npm run dev ", "start": "npm run dev $*",

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Npm transfer parameters in vue project webpack configure different domain name interfaces

Jul.08,2021

do you use cli3.0 if you use 3.0to turn off pwa and try


this kind of thing you put in the configuration, ah, in the vue-cli3 project, you can refer to what I wrote: https://codeshelper.com/a/11.

.
Menu