Upgrade webpack4.26.1 npm run dev error Failed at the project dev script.

A project built with vue-cli defaults to webpack3.6.0, and then upgrades it to webpack4.26.1, after a series of operations to solve a bunch of errors. I don"t know how to solve this mistake. Please refer to

package.json

log details:
0 info it worked if it ends with ok
1 verbose cli ["C:\ Program Files\ nodejs\ node.exe",
1 verbose cli"C:\ Users\ Administrator\ AppData\ Roaming\ npm\ npm\ bin\ npm-cli.js",
1 verbose cli "run",
1 verbose cli" dev"]
2 info using npm@5.6.0
3 info using node@v8.9.1
4 verbose run-script ["predev", "dev"," "postdev"]
5 info lifecycle vue-project@1.0.0~predev: vue-project@1.0.0
6 info lifecycle vue-project@1.0.0~dev: vue-project@1.0.0
7 verbose lifecycle vue-project@1.0.0~dev: unsafe-perm in lifecycle true
8 verbose lifecycle vue-project@1.0.0~dev: PATH: CVG UsersAdministrator AppDataRoamingnpmnodeparts modulesnpmnodeparts modulesnpmlifecyclenodecolors; FRV vuekoshi projectnodecodes modules.binacy% MAVENPROPERATHOMETANDUMEBING% MYSQLINHOM HOMEBINE% JAVANGHOME% BINTIME% JAVALEJavajavapathAccording to CVV system32 Gitcmd;C:Program Filesnodejs;C:Program FilesTortoiseSVNbin;D:Fiddler; system 32 and CV32 Windows system 32 WbemX CVM Windows System32 Windows Powerlv1.0 and CVRIN Program Files (x86) WinSystem32 WinSystem32 Windows Powerlv1.0% Windows system 32 Windows Powerlv1.0, Windows system 32, Windows Powerlv1.0, Windows system 32 (x86) C:UsersAdministratorAppDataRoamingnpm
9 verbose lifecycle vue-project@1.0.0~dev: CWD: F:vue-project
10 silly lifecycle vue-project@1.0.0~dev: Args: ["/ d / s / cations,
10 silly lifecycle "webpack-dev-server-- inline-- progress-- config build/webpack.dev.conf.js"]
11 silly lifecycle vue-project@1.0.0~dev: Returned: code: 1 signal: null
12 info lifecycle vue-project@1.0.0~dev: Failed to exec dev script
13 verbose stack Error: vue-project@1.0.0 dev: webpack-dev-server-- inline-- progress-- config build/webpack.dev.conf.js
13 verbose stack Exit status 1
13 verbose stack at EventEmitter . (C:UsersAdministratorAppDataRoamingnpmnode_modulesnpmnode_modulesnpm-lifecycleindex.js:285:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess. (C:UsersAdministratorAppDataRoamingnpmnode_modulesnpmnode_modulesnpm-lifecyclelibspawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:925:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid vue-project@1.0.0
15 verbose cwd F:vue-project
16 verbose Windows_NT 6.1.7601
17 verbose argv "C:\ Program Files\ nodejs\ node.exe"C:\ Users\ Administrator\ AppData\ Roaming\ npm\ node_modules\ npm\ bin\ npm-cli.js"run"dev"
18 verbose node v8.9.1
19 verbose npm v5.6.0
20 error code ELIFECYCLE
21 error errno 1
22 error vue-project@1.0.0 dev: webpack-dev-server-- inline-- progress-- config build/webpack.dev.conf.js
22 error Exit status 1
23 error Failed at the vue-project@1.0.0 dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [1, true]

Jan.28,2022

webpack3 you do encounter some problems when upgrading to webpack4 , mainly due to your own dependencies and the surrounding loader or plugins . Provide a project template that has been upgraded. Please refer to Portal


have you solved it? I have the same problem

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a9ac-4ee8f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a9ac-4ee8f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?