Netlify build error.



  • Hello, I was able to build my app to Netlify, but starting from 8th September, I couldn’t be able to build it. I think problem behind it tries to build with v 0.17 but I’m using 1.0

    Don’t know how to fixed it, I need a help. Thank you all.

    error

    8:28:37 PM: Build ready to start
    8:28:46 PM: build-image version: 9e0f207a27642d0115b1ca97cd5e8cebbe492f63
    8:28:46 PM: build-image tag: v3.3.2
    8:28:46 PM: buildbot version: 38cc4984170575781fef71bee035f0855939acb8
    8:28:47 PM: Fetching cached dependencies
    8:28:47 PM: Starting to download cache of 111.4MB
    8:28:47 PM: Finished downloading cache in 571.023352ms
    8:28:47 PM: Starting to extract cache
    8:28:51 PM: Finished extracting cache in 4.320394303s
    8:28:51 PM: Finished fetching cache in 4.916978259s
    8:28:51 PM: Starting to prepare the repo for build
    8:28:52 PM: Preparing Git Reference refs/heads/master
    8:28:53 PM: Found netlify.toml. Overriding site configuration
    8:28:53 PM: Starting build script
    8:28:53 PM: Installing dependencies
    8:28:53 PM: Started restoring cached node version
    8:28:55 PM: Finished restoring cached node version
    8:28:56 PM: v10.16.3 is already installed.
    8:28:57 PM: Now using node v10.16.3 (npm v6.9.0)
    8:28:57 PM: Attempting ruby version 2.6.2, read from environment
    8:28:58 PM: Using ruby version 2.6.2
    8:28:58 PM: Using PHP version 5.6
    8:28:58 PM: Started restoring cached node modules
    8:28:58 PM: Finished restoring cached node modules
    8:28:59 PM: Installing NPM modules using NPM version 6.9.0
    8:29:16 PM: npm
    8:29:16 PM:  WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/webpack-dev-server/node_modules/fsevents):
    8:29:16 PM: npm WARN
    8:29:16 PM:  notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    8:29:16 PM: npm
    8:29:16 PM:  WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/watchpack/node_modules/fsevents):
    8:29:16 PM: npm WARN
    8:29:16 PM: notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    8:29:16 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/quasar-cli/node_modules/fsevents):
    8:29:16 PM: npm
    8:29:16 PM: WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    8:29:16 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.0.7 (node_modules/fsevents):
    8:29:16 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    8:29:16 PM: added 414 packages from 240 contributors, updated 23 packages and audited 28734 packages in 16.935s
    8:29:16 PM: found 0 vulnerabilities
    8:29:16 PM: NPM modules installed
    8:29:17 PM: Started restoring cached go cache
    8:29:17 PM: Finished restoring cached go cache
    8:29:17 PM: unset GOOS;
    8:29:17 PM: unset GOARCH;
    8:29:17 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.12.linux.amd64';
    8:29:17 PM: export PATH="/opt/buildhome/.gimme/versions/go1.12.linux.amd64/bin:${PATH}";
    8:29:17 PM: go version >&2;
    8:29:17 PM: export GIMME_ENV='/opt/buildhome/.gimme/env/go1.12.linux.amd64.env';
    8:29:17 PM: go version go1.12 linux/amd64
    8:29:17 PM: Installing missing commands
    8:29:17 PM: Verify run directory
    8:29:17 PM: Executing user command: quasar build
    8:29:17 PM:  Build mode........ spa
    8:29:17 PM:  Quasar theme...... mat
    8:29:17 PM:  Quasar CLI........ v0.17.26
    8:29:17 PM:  Quasar Framework.. v0.17.20
    8:29:17 PM:  Debugging......... no
    8:29:17 PM:  app:ensure-dev-deps Pinning strip-ansi dependency... +0ms
    8:29:17 PM:  app:spawn [sync] Running "npm install --save-dev strip-ansi@=3.0.1" +1ms
    8:29:30 PM: npm
    8:29:30 PM:  WARN @babel/plugin-syntax-class-properties@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
    8:29:30 PM: npm
    8:29:30 PM: failed during stage 'building site': Build script returned non-zero exit code: 1
    8:29:30 PM: WARN @babel/preset-stage-2@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
    8:29:30 PM: npm WARN
    8:29:30 PM:  @babel/plugin-proposal-decorators@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
    8:29:30 PM: npm
    8:29:30 PM: WARN @babel/plugin-proposal-export-namespace-from@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
    8:29:30 PM: npm
    8:29:30 PM: WARN
    8:29:30 PM:  @babel/plugin-proposal-function-sent@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
    8:29:30 PM: npm WARN
    8:29:30 PM:  @babel/plugin-proposal-numeric-separator@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
    8:29:30 PM: npm WARN
    8:29:30 PM:  @babel/plugin-proposal-throw-expressions@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
    8:29:30 PM: npm
    8:29:30 PM:  WARN @babel/plugin-syntax-decorators@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
    8:29:30 PM: npm WARN @babel/plugin-syntax-export-namespace-from@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
    8:29:30 PM: npm WARN @babel/plugin-syntax-function-sent@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
    8:29:30 PM: npm WARN @babel/plugin-syntax-numeric-separator@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
    8:29:30 PM: npm WARN @babel/plugin-syntax-throw-expressions@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
    8:29:30 PM: npm WARN @babel/preset-stage-3@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
    8:29:30 PM: npm WARN @babel/plugin-proposal-async-generator-functions@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
    8:29:30 PM: npm WARN @babel/plugin-proposal-class-properties@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
    8:29:30 PM: npm WARN @babel/plugin-proposal-json-strings@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
    8:29:30 PM: npm WARN @babel/plugin-proposal-object-rest-spread@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
    8:29:30 PM: npm WARN @babel/plugin-proposal-optional-catch-binding@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
    

    package.json

    {
      "name": "duty-go",
      "version": "0.0.1",
      "description": "Schedule your duties easily",
      "productName": "DutyGO",
      "cordovaId": "org.cordova.quasar.app",
      "author": "Kaan Gokdemir",
      "private": true,
      "scripts": {
        "lint": "eslint --ext .js,.vue src",
        "test": "echo \"No test specified\" && exit 0"
      },
      "dependencies": {
        "@quasar/extras": "^1.0.0",
        "axios": "^0.18.1",
        "quasar": "^1.0.0",
        "quasar-cli": "^0.17.26",
        "vue-i18n": "^8.0.0"
      },
      "devDependencies": {
        "@quasar/app": "^1.0.0",
        "@vue/eslint-config-prettier": "^4.0.0",
        "babel-eslint": "^10.0.1",
        "eslint": "^5.10.0",
        "eslint-loader": "^2.1.1",
        "eslint-plugin-vue": "^5.0.0"
      },
      "engines": {
        "node": ">= 8.9.0",
        "npm": ">= 5.6.0",
        "yarn": ">= 1.6.0"
      },
      "browserslist": [
        "last 1 version, not dead, ie >= 11"
      ]
    }
    

    netlify.toml

    [[redirects]]
      from = "/*"
      to = "/index.html"
      status = 200
    
    [build]
      command = "quasar build"
      publish = "dist/spa"
    
    

    build settings in netlify

    Build settings
    Repository
    github.com/kaangokdemir/duty-go
    Base directory
    Not set
    Build command
    quasar build
    Publish directory
    dist/spa
    Learn more about common configuration directives in the docs
    
    Edit settings
    
    kaan@kaan-G751JM:~/Masaüstü/duty-go$ node -v
    v10.16.3
    kaan@kaan-G751JM:~/Masaüstü/duty-go$ npm -v
    6.11.3
    


  • Maybe this is the issue in your package.json?

    "quasar-cli": "^0.17.26",

    Scott


Log in to reply