Meu log:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'build'
1 verbose cli ]
2 info using npm@6.10.2
3 info using node@v12.9.1
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle admin-vue@1.0.0prebuild: admin-vue@1.0.0
6 info lifecycle admin-vue@1.0.0build: admin-vue@1.0.0
7 verbose lifecycle admin-vue@1.0.0build: unsafe-perm in lifecycle true
8 verbose lifecycle admin-vue@1.0.0build: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\stmca\admin-vue\node_modules.bin;C:\Python27;C:\Python27\Scripts;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\Program Files (x86)\Brackets\command;C:\Program Files\Git\cmd;C:\Program Files\TortoiseGit\bin;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;;C:\ProgramData\chocolatey\bin;C:\Program Files\nodejs;C:\Users\stmca\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\OpenVPN\bin;C:\Users\stmca\AppData\Roaming\Composer\vendor\bin;C:\Users\stmca\AppData\Local\Microsoft\WindowsApps;C:\Users\stmca\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\stmca\AppData\Roaming\npm
9 verbose lifecycle admin-vue@1.0.0build: CWD: C:\Users\stmca\admin-vue
10 silly lifecycle admin-vue@1.0.0build: Args: [
10 silly lifecycle '/d /s /c',
10 silly lifecycle 'cross-env NODE_ENV=production webpack --progress --hide-modules'
10 silly lifecycle ]
11 silly lifecycle admin-vue@1.0.0build: Returned: code: 2 signal: null
12 info lifecycle admin-vue@1.0.0build: Failed to exec build script
13 verbose stack Error: admin-vue@1.0.0 build: cross-env NODE_ENV=production webpack --progress --hide-modules
13 verbose stack Exit status 2
13 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:326:16)
13 verbose stack at EventEmitter.emit (events.js:209:13)
13 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:209:13)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess.handle.onexit (internal/childprocess.js:283:5)
14 verbose pkgid admin-vue@1.0.0
15 verbose cwd C:\Users\stmca\admin-vue
16 verbose Windows_NT 10.0.18362
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build"
18 verbose node v12.9.1
19 verbose npm v6.10.2
20 error code ELIFECYCLE
21 error errno 2
22 error admin-vue@1.0.0 build: cross-env NODE_ENV=production webpack --progress --hide-modules
22 error Exit status 2
23 error Failed at the admin-vue@1.0.0 build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 2, true ]