Quasar Build: ERROR in js/vendor.js from UglifyJs (Unexpected token: name (EventEmitter))



  • hey guys, I have been receiving an when I try use the quasar build command. The error message is

    ERROR in js/vendor.js from UglifyJs
    Unexpected token: name (EventEmitter) [js/vendor.js:45733,6]
    
    

    The quasar build command has been working properly up until recently. I checked the npm debug log and it stated the following

    0 info it worked if it ends with ok
    1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'build' ]
    2 info using npm@5.5.1
    3 info using node@v9.2.0
    4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
    5 info lifecycle quasar-app@0.0.1~prebuild: quasar-app@0.0.1
    6 info lifecycle quasar-app@0.0.1~build: quasar-app@0.0.1
    7 verbose lifecycle quasar-app@0.0.1~build: unsafe-perm in lifecycle true
    8 verbose lifecycle quasar-app@0.0.1~build: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/home/musango/Documents/Projects/nightlifeapp/node_modules/.bin:/home/musango/bin:/home/musango/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/musango/.composer/vendor/bin:/home/musango/.composer/vendor/bin:/home/musango/.composer/vendor/bin
    9 verbose lifecycle quasar-app@0.0.1~build: CWD: /home/musango/Documents/Projects/nightlifeapp
    10 silly lifecycle quasar-app@0.0.1~build: Args: [ '-c', 'node build/script.build.js' ]
    11 silly lifecycle quasar-app@0.0.1~build: Returned: code: 1  signal: null
    12 info lifecycle quasar-app@0.0.1~build: Failed to exec build script
    13 verbose stack Error: quasar-app@0.0.1 build: `node build/script.build.js`
    13 verbose stack Exit status 1
    13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:280:16)
    13 verbose stack     at EventEmitter.emit (events.js:159:13)
    13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
    13 verbose stack     at ChildProcess.emit (events.js:159: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 quasar-app@0.0.1
    15 verbose cwd /home/musango/Documents/Projects/nightlifeapp
    16 verbose Linux 4.4.0-53-generic
    17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
    18 verbose node v9.2.0
    19 verbose npm  v5.5.1
    20 error code ELIFECYCLE
    21 error errno 1
    22 error quasar-app@0.0.1 build: `node build/script.build.js`
    22 error Exit status 1
    23 error Failed at the quasar-app@0.0.1 build script.
    23 error This is probably not a problem with npm. There is likely additional logging output above.
    24 verbose exit [ 1, true ]
    

    Help would be greatly appreciated,

    Thanks in advanced :)


Log in to reply
 

Looks like your connection to Quasar Framework was lost, please wait while we try to reconnect.