You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating an optimized production build...
Failed to compile.
index.js from UglifyJs
Unexpected token name «i», expected punc «;» [index.js:86711,10]
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: roadhog build
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\SFY\AppData\Roaming\npm-cache_logs\2018-03-15T02_28_08_965Z-debug.log
下面是debug.log
0 info it worked if it ends with ok
1 verbose cli [ 'D:\node\node.exe',
1 verbose cli 'D:\node\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'build' ]
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:\node\node_modules\npm\bin\node-gyp-bin;E:\barcoder-web\node_modules.bin;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;D:\node;C:\Program Files\Git\cmd;C:\Users\SFY\AppData\Local\Microsoft\WindowsApps;;D:\Microsoft VS Code\bin;C:\Users\SFY\AppData\Roaming\npm;C:\Users\SFY\AppData\Local\Programs\Fiddler
9 verbose lifecycle [email protected]build: CWD: E:\barcoder-web
10 silly lifecycle [email protected]build: Args: [ '/d /s /c', 'roadhog build' ]
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: roadhog build
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (D:\node\node_modules\npm\lib\utils\lifecycle.js:289:16)
13 verbose stack at emitTwo (events.js:125:13)
13 verbose stack at EventEmitter.emit (events.js:213:7)
13 verbose stack at ChildProcess. (D:\node\node_modules\npm\lib\utils\spawn.js:40:14)
13 verbose stack at emitTwo (events.js:125:13)
13 verbose stack at ChildProcess.emit (events.js:213:7)
13 verbose stack at maybeClose (internal/child_process.js:927:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
14 verbose pkgid [email protected]
15 verbose cwd E:\barcoder-web
16 verbose Windows_NT 10.0.16299
17 verbose argv "D:\node\node.exe" "D:\node\node_modules\npm\bin\npm-cli.js" "run" "build"
18 verbose node v8.4.0
19 verbose npm v5.3.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] build: roadhog build
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 ]
The text was updated successfully, but these errors were encountered:
E:\barcoder-web>npm run build
Creating an optimized production build...
Failed to compile.
index.js from UglifyJs
Unexpected token name «i», expected punc «;» [index.js:86711,10]
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:
roadhog build
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\SFY\AppData\Roaming\npm-cache_logs\2018-03-15T02_28_08_965Z-debug.log
下面是debug.log
0 info it worked if it ends with ok
1 verbose cli [ 'D:\node\node.exe',
1 verbose cli 'D:\node\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'build' ]
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]build: [email protected]6 info lifecycle [email protected]
7 verbose lifecycle [email protected]
build: unsafe-perm in lifecycle truebuild: PATH: D:\node\node_modules\npm\bin\node-gyp-bin;E:\barcoder-web\node_modules.bin;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;D:\node;C:\Program Files\Git\cmd;C:\Users\SFY\AppData\Local\Microsoft\WindowsApps;;D:\Microsoft VS Code\bin;C:\Users\SFY\AppData\Roaming\npm;C:\Users\SFY\AppData\Local\Programs\Fiddler8 verbose lifecycle [email protected]
9 verbose lifecycle [email protected]
build: CWD: E:\barcoder-webbuild: Args: [ '/d /s /c', 'roadhog build' ]10 silly lifecycle [email protected]
11 silly lifecycle [email protected]
build: Returned: code: 1 signal: nullbuild: Failed to exec build script12 info lifecycle [email protected]
13 verbose stack Error: [email protected] build:
roadhog build
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (D:\node\node_modules\npm\lib\utils\lifecycle.js:289:16)
13 verbose stack at emitTwo (events.js:125:13)
13 verbose stack at EventEmitter.emit (events.js:213:7)
13 verbose stack at ChildProcess. (D:\node\node_modules\npm\lib\utils\spawn.js:40:14)
13 verbose stack at emitTwo (events.js:125:13)
13 verbose stack at ChildProcess.emit (events.js:213:7)
13 verbose stack at maybeClose (internal/child_process.js:927:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
14 verbose pkgid [email protected]
15 verbose cwd E:\barcoder-web
16 verbose Windows_NT 10.0.16299
17 verbose argv "D:\node\node.exe" "D:\node\node_modules\npm\bin\npm-cli.js" "run" "build"
18 verbose node v8.4.0
19 verbose npm v5.3.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] build:
roadhog build
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 ]
The text was updated successfully, but these errors were encountered: