C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin>npm run build --report
> [email protected] build C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin
> node build/build.js
- building for undefined...C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin\node_modules\script-ext-html-webpack-plugin\lib\plugin.js:50
compilation.hooks.htmlWebpackPluginAlterAssetTags.tap(PLUGIN, alterAssetTags);
^
TypeError: Cannot read property 'tap' of undefined
at ScriptExtHtmlWebpackPlugin.compilationCallback (C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin\node_modules\script-ext-html-webpack-plugin\lib\plugin.js:50:57)
at SyncHook.eval [as call] (eval at create (C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin\node_modules\tapable\lib\HookCodeFactory.js:19:10), <anonymous>:11:1)
at SyncHook.lazyCompileHook (C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin\node_modules\tapable\lib\Hook.js:154:20)
at Compiler.newCompilation (C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin\node_modules\webpack\lib\Compiler.js:504:26)
at hooks.beforeCompile.callAsync.err (C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin\node_modules\webpack\lib\Compiler.js:540:29)
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin\node_modules\tapable\lib\Hook.js:154:20)
at Compiler.compile (C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin\node_modules\webpack\lib\Compiler.js:535:28)
at readRecords.err (C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin\node_modules\webpack\lib\Compiler.js:274:11)
at Compiler.readRecords (C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin\node_modules\webpack\lib\Compiler.js:402:11)
at hooks.run.callAsync.err (C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin\node_modules\webpack\lib\Compiler.js:271:10)
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin\node_modules\tapable\lib\Hook.js:154:20)
at hooks.beforeRun.callAsync.err (C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin\node_modules\webpack\lib\Compiler.js:268:19)
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:15:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin\node_modules\tapable\lib\Hook.js:154:20)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `node build/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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\Mr.Guo\AppData\Roaming\npm-cache\_logs\2019-08-13T10_48_14_380Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ 'D:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'D:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'build',
1 verbose cli '--report' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle [email protected]~prebuild: [email protected]
6 info lifecycle [email protected]~build: [email protected]
7 verbose lifecycle [email protected]~build: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~build: PATH: D:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin\node_modules\.bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\jdk8\bin;D:\msys2\home\Mr.Guo\openssl-1.0.2q\dist\bin;D:\msys64\mingw32\bin;C:\Program Files\CMake\bin;C:\Program Files\Git\cmd;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;D:\TDM\bin;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;D:\matlab\runtime\win64;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;D:\matlab\bin;D:\matlab\polyspace\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;D:\swipl\bin;D:\apache-maven-3.6.1\bin;D:\Program Files\nodejs\;C:\Program Files\dotnet\;D:\redis\;C:\ProgramData\Oracle\Java\javapath;D:\anaconda;D:\anaconda\Library\mingw-w64\bin;D:\anaconda\Library\usr\bin;D:\anaconda\Library\bin;D:\anaconda\Scripts;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;D:\IntelliJ IDEA 2019.1.2\bin;D:\VS Code\bin;C:\Users\Mr.Guo\AppData\Local\GitHubDesktop\bin;D:\Fiddler;C:\Users\Mr.Guo\AppData\Roaming\npm;D:\WebStorm 2019.2\bin;
9 verbose lifecycle [email protected]~build: CWD: C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin
10 silly lifecycle [email protected]~build: Args: [ '/d /s /c', 'node build/build.js' ]
11 silly lifecycle [email protected]~build: Returned: code: 1 signal: null
12 info lifecycle [email protected]~build: Failed to exec build script
13 verbose stack Error: [email protected] build: `node build/build.js`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (D:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:198:13)
13 verbose stack at ChildProcess.<anonymous> (D:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:198:13)
13 verbose stack at maybeClose (internal/child_process.js:982:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid [email protected]
15 verbose cwd C:\Users\Mr.Guo\Documents\GitHub\web-flash-master\flash-vue-admin
16 verbose Windows_NT 10.0.17763
17 verbose argv "D:\\Program Files\\nodejs\\node.exe" "D:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build" "--report"
18 verbose node v10.16.0
19 verbose npm v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] build: `node build/build.js`
22 error Exit status 1
23 error Failed at the [email protected] build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]