yuche / vue-strap

Bootstrap components built with Vue.js

Home Page:http://yuche.github.io/vue-strap/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unexpected token: name (blurEvent) [./~/vue-strap/src/utils/NodeList.js:3,0]

anjnkmr opened this issue · comments

let blurEvent

this line throws following error when running npm run build

ERROR in static/js/vendor.67470b915b288a8dc697.js from UglifyJs
Unexpected token: name (blurEvent) [./~/vue-strap/src/utils/NodeList.js:3,0][static/js/vendor.67470b915b288a8dc697.js:5676,4]

Build failed with errors.

here is the complete stack trace

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/9.5.0/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'run',
1 verbose cli 'build' ]
2 info using npm@5.6.0
3 info using node@v9.5.0
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle aster@1.0.0prebuild: xxx@1.0.0
6 info lifecycle aster@1.0.0
build: xxx@1.0.0
7 verbose lifecycle xxx@1.0.0build: unsafe-perm in lifecycle true
8 verbose lifecycle xxx@1.0.0
build: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/xxxx/xxxx/xxxx/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
9 verbose lifecycle xxx@1.0.0build: CWD: /Users/xxxx/xxxx/xxxx
10 silly lifecycle xxx@1.0.0
build: Args: [ '-c', 'node build/build.js' ]
11 silly lifecycle xxx@1.0.0build: Returned: code: 1 signal: null
12 info lifecycle xxx@1.0.0
build: Failed to exec build script
13 verbose stack Error: xxx@1.0.0 build: node build/build.js
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)
13 verbose stack at EventEmitter.emit (events.js:160:13)
13 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:160:13)
13 verbose stack at maybeClose (internal/child_process.js:943:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
14 verbose pkgid xxx@1.0.0
15 verbose cwd /Users/xxxx/xxxx/xxxx
16 verbose Darwin 16.7.0
17 verbose argv "/usr/local/Cellar/node/9.5.0/bin/node" "/usr/local/bin/npm" "run" "build"
18 verbose node v9.5.0
19 verbose npm v5.6.0
20 error code ELIFECYCLE
21 error errno 1
22 error aster@1.0.0 build: node build/build.js
22 error Exit status 1
23 error Failed at the aster@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 [ 1, true ]