Can't do build

  • Not sure why, running quasar build it fails.
    I can include the log if I need to.

    ~/dev/vueTest/Mobile-Apps/carrier-quasar $ quasar build

    quasar-app@0.0.1 build /home/dev/vueTest/Mobile-Apps/carrier-quasar
    node build/

    Do NOT use VueRouter’s “history” mode if
    building for Cordova or Electron.

    Cleaned build artifacts.

    Building Quasar App with “mat” theme…

    Build completed in 17.689s

    Hash: df7151e820f066180baf
    Version: webpack 3.11.0
    Time: 17695ms
    Asset Size Chunks Chunk Names
    img/wheel.6a411cd.png 237 kB [emitted]
    fonts/Roboto-Thin.90d3804.woff 87.8 kB [emitted]
    fonts/Roboto-Regular.081b11e.woff 89.4 kB [emitted]
    fonts/Roboto-Medium.303ded6.woff 89.7 kB [emitted]
    fonts/Roboto-Bold.ad140ff.woff 89.2 kB [emitted]
    fonts/MaterialIcons-Regular.012cf6a.woff 57.6 kB [emitted]
    fonts/MuseoSans_500.62c0135.otf 62.5 kB [emitted]
    img/login_carrier_back.b20aeb0.png 746 kB [emitted] [big]
    img/EFS_Logo_Final_Color_White.9d3eeb8.png 76.4 kB [emitted]
    fonts/Roboto-Light.37fbbba.woff 89.2 kB [emitted]
    js/0.86059f383ec26c6c3631.js 20.1 kB 0 [emitted]
    js/1.cb8865d99c116e668968.js 4.54 kB 1 [emitted]
    js/2.6f5f624c4e4a32458425.js 1.97 kB 2 [emitted]
    js/vendor.js 272 kB 3 [emitted] [big] vendor
    js/app.js 1.03 kB 4 [emitted] app
    js/manifest.js 1.44 kB 5 [emitted] manifest
    app.667445a3ad49a7335de77cc5ca1ce32e.css 117 kB 4 [emitted] app
    index.html 582 bytes [emitted]

    ERROR in js/0.86059f383ec26c6c3631.js from UglifyJs
    Name expected [js/0.86059f383ec26c6c3631.js:407,6]

    npm ERR! Linux 3.13.0-24-generic
    npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “run” “build”
    npm ERR! node v6.12.3
    npm ERR! npm v3.10.10
    npm ERR! code ELIFECYCLE
    npm ERR! quasar-app@0.0.1 build: node build/
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the quasar-app@0.0.1 build script ‘node build/’.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the quasar-app package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! node build/
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR! npm bugs quasar-app
    npm ERR! Or if that isn’t available, you can get their info via:
    npm ERR! npm owner ls quasar-app
    npm ERR! There is likely additional logging output above.

  • try to run:

    brew update
    brew update node

    Then try a build.

  • Quasar and node version please? quasar 0.15 requires node 8.0 +

Log in to reply