8000 Deploy to Netlify not working · Issue #87 · QardsJs/qards · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Deploy to Netlify not working #87
Open
@rileypetersen

Description

@rileypetersen

Not sure if it's related to #67 but here's the log:

5:29:23 AM: Build ready to start
5:29:25 AM: build-image version: 84aca9ba39e0ee86ba194760fbfc51a808f62543
5:29:25 AM: buildbot version: 57d44fd1631cc3fff8b38fbaf88d3d04f946418a
5:29:26 AM: Fetching cached dependencies
5:29:26 AM: Failed to fetch cache, continuing with build
5:29:26 AM: Starting to prepare the repo for build
5:29:26 AM: No cached dependencies found. Cloning fresh repo
5:29:26 AM: git clone https://github.com/QardsJs/qards
5:29:28 AM: Preparing Git Reference refs/heads/master
5:29:29 AM: Found netlify.toml. Overriding site configuration
5:29:29 AM: Starting build script
5:29:29 AM: Installing dependencies
5:29:30 AM: Downloading and installing node v8.15.0...
5:29:30 AM: Downloading https://nodejs.org/dist/v8.15.0/node-v8.15.0-linux-x64.tar.xz...
5:29:30 AM:   0.9%
5:29:30 AM: 
##################
5:29:30 AM:                               25.5%
5:29:30 AM: 
################################################
5:29:30 AM: ########                  78.4%
9497

######################################################################## 100.0%
5:29:30 AM: Computing checksum with sha256sum
5:29:30 AM: Checksums matched!
5:29:33 AM: Now using node v8.15.0 (npm v6.4.1)
5:29:33 AM: Attempting ruby version 2.3.6, read from environment
5:29:34 AM: Using ruby version 2.3.6
5:29:34 AM: Using PHP version 5.6
5:29:34 AM: Started restoring cached node modules
5:29:34 AM: Finished restoring cached node modules
5:29:34 AM: Installing NPM modules using NPM version 6.4.1
5:29:45 AM: npm
5:29:45 AM: WARN deprecated hoek@5.0.4: This version is no longer maintained. Please upgrade to the latest version.
5:29:45 AM: npm WARN deprecated kleur@2.0.2: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit <https://github.com/lukeed/kleur/releases/tag/v3.0.0\> for migration path(s).
5:29:48 AM: npm WARN
5:29:48 AM: deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
5:31:03 AM: > inotify@1.4.6 install /opt/build/repo/node_modules/inotify
5:31:04 AM: > node-gyp rebuild
5:31:04 AM: make: Entering directory `/opt/build/repo/node_modules/inotify/build'
5:31:04 AM:   CXX(target) Release/obj.target/inotify/src/bindings.o
5:31:05 AM: ../src/bindings.cc: In static member function ‘static void NodeInotify::Inotify::Callback(uv_poll_t*, int, int)’:
5:31:05 AM: ../src/bindings.cc:279:34: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’ is deprecated (declared at ../../nan/nan.h:1652) [-Wdeprecated-declarations]
5:31:05 AM:      callback.Call(handle, 1, argv);
5:31:05 AM:                                   ^
5:31:06 AM:   CXX(target) Release/obj.target/inotify/src/node_inotify.o
5:31:06 AM:   SOLINK_MODULE(target) Release/obj.target/inotify.node
5:31:07 AM:   COPY Release/inotify.node
5:31:07 AM: make: Leaving directory `/opt/build/repo/node_modules/inotify/build'
5:31:07 AM: > sharp@0.21.3 install /opt/build/repo/node_modules/sharp
5:31:07 AM: > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
5:31:08 AM: info
5:31:08 AM:  sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.7.0/libvips-8.7.0-linux-x64.tar.gz
5:31:10 AM: > phantomjs-prebuilt@2.1.16 install /opt/build/repo/node_modules/phantomjs-prebuilt
5:31:10 AM: > node install.js
5:31:10 AM: PhantomJS not found on PATH
5:31:10 AM: Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2
5:31:10 AM: Saving to /opt/buildhome/tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
5:31:10 AM: Receiving...
5:31:11 AM: Received 22866K total.
5:31:11 AM: Extracting tar contents (via spawned process)
5:31:15 AM: Removing /opt/build/repo/node_modules/phantomjs-prebuilt/lib/phantom
5:31:15 AM: Copying extracted folder /opt/buildhome/tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1548941471860/phantomjs-2.1.1-linux-x86_64 -> /opt/build/repo/node_modules/phantomjs-prebuilt/lib/phantom
5:31:15 AM: Writing location.js file
5:31:15 AM: Done. Phantomjs binary available at /opt/build/repo/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
5:31:15 AM: > node-sass@4.11.0 install /opt/build/repo/node_modules/node-sass
5:31:15 AM: > node scripts/install.js
5:31:16 AM: Downloading binary from https://github.com/sass/node-sass/releases/download/v4.11.0/linux-x64-57_binding.node
5:31:17 AM: Download complete
5:31:17 AM: Binary saved to /opt/build/repo/node_modules/node-sass/vendor/linux-x64-57/binding.node
5:31:17 AM: Caching binary to /opt/buildhome/.npm/node-sass/4.11.0/linux-x64-57_binding.node
5:31:19 AM: > cwebp-bin@5.0.0 postinstall /opt/build/repo/node_modules/cwebp-bin
5:31:19 AM: > node lib/install.js
5:31:19 AM:   ✔ cwebp pre-build test passed successfully
5:31:19 AM: > mozjpeg@6.0.1 postinstall /opt/build/repo/node_modules/mozjpeg
5:31:19 AM: > node lib/install.js
5:31:20 AM:   ✔ mozjpeg pre-build test passed successfully
5:31:20 AM: > pngquant-bin@5.0.1 postinstall /opt/build/repo/node_modules/pngquant-bin
5:31:20 AM: > node lib/install.js
5:31:21 AM:   ✔ pngquant pre-build test passed successfully
5:31:21 AM: > date-fns@2.0.0-alpha.27 postinstall /opt/build/repo/node_modules/date-fns
5:31:21 AM: > node ./docs/printV2Notice.js
5:31:21 AM: 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
5:31:21 AM:   Thank you for testing (⩗) date-fns v2!
5:31:21 AM:   In v2 we've introduced a number of breaking changes
5:31:21 AM:   that make date-fns even more consistent and reliable.
5:31:21 AM:   Please read the changelog carefully: https://git.io/fxCWb
5:31:21 AM:   Please support us at Open Collective: https://opencollective.com/date-fns
5:31:21 AM: 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
5:31:21 AM: > node-sass@4.11.0 postinstall /opt/build/repo/node_modules/node-sass
5:31:21 AM: > node scripts/build.js
5:31:21 AM: Binary found at /opt/build/repo/node_modules/node-sass/vendor/linux-x64-57/binding.node
5:31:21 AM: Testing binary
5:31:21 AM: Binary is fine
5:31:21 AM: > styled-components@4.1.3 postinstall /opt/build/repo/node_modules/styled-components
5:31:21 AM: > node ./scripts/postinstall.js || exit 0
5:31:21 AM: (node:1268) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase limit
5:31:21 AM: Use styled-components at work? Consider supporting our development efforts at https://opencollective.com/styled-components
5:31:31 AM: npm notice
5:31:32 AM:  created a lockfile as package-lock.json. You should commit this file.
5:31:32 AM: npm WARN extract-text-webpack-plugin@3.0.2 requires a peer of webpack@^3.1.0 but none is installed. You must install peer dependencies yourself.
5:31:32 AM: npm WARN netlify-cms-widget-color@3.0.1 requires a peer of module-igniter@^1.1.0 but none is installed. You must install peer dependencies yourself.
5:31:32 AM: npm WARN netlify-cms-widget-color@3.0.1 requires a peer of netlify-cms@^2.0.0 | ^1.0.0 but none is installed. You must install peer dependencies yourself.
5:31:32 AM: npm WARN ajv-keywords@3.3.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
5:31:32 AM: npm WARN netlify-cms-backend-git-gateway@2.1.2 requires a peer of immutable@^3.7.6 but none is installed. You must install peer dependencies yourself.
5:31:32 AM: npm WARN netlify-cms-backend-bitbucket@2.1.0 requires a peer of immutable@^3.7.6 but none is installed. You must install peer dependencies yourself.
5:31:32 AM: npm WARN netlify-cms-backend-gitlab@2.1.1 requires a peer of immutable@^3.7.6 but none is installed. You must install peer dependencies yourself.
5:31:32 AM: npm WARN netlify-cms-backend-test@2.0.6 requires a peer of immutable@^3.8.2 but none is installed. You must install peer dependencies yourself.
5:31:32 AM: npm WARN netlify-cms-widget-file@2.2.0 requires a peer of immutable@^3.7.6 but none is installed. You must install peer dependencies yourself.
5:31:32 AM: npm WARN netlify-cms-widget-image@2.1.1 requires a peer of immutable@^3.7.6 but none is installed. You must install peer dependencies yourself.
5:31:32 AM: npm WARN netlify-cms-widget-list@2.1.0 requires a peer of immutable@^3.7.6 but none is installed. You must install peer dependencies yourself.
5:31:33 AM: npm WARN netlify-cms-widget-markdown@2.1.0 requires a peer of immutable@^3.7.6 but none is installed. You must install peer dependencies yourself.
5:31:33 AM: npm WARN netlify-cms-widget-object@2.0.5 requires a peer of immutable@^3.7.6 but none is installed. You must install peer dependencies yourself.
5:31:33 AM: npm WARN netlify-cms-widget-relation@2.0.5 requires a peer of immutable@^3.7.6 but none is installed. You must install peer dependencies yourself.
5:31:33 AM: npm WARN netlify-cms-widget-select@2.1.0 requires a peer of immutable@^3.7.6 but none is installed. You must install peer dependencies yourself.
5:31:33 AM: npm WARN netlify-cms-lib-auth@2.0.5 requires a peer of immutable@^3.7.6 but none is installed. You must install peer dependencies yourself.
5:31:33 AM: npm WARN netlify-cms-lib-util@2.1.1 requires a peer of immutable@^3.7.6 but none is installed. You must install peer dependencies yourself.
5:31:33 AM: npm WARN react-immutable-proptypes@2.1.0 requires a peer of immutable@>=3.6.2 but none is installed. You must install peer dependencies yourself.
5:31:33 AM: npm WARN react-redux@4.4.9 requires a peer of redux@^2.0.0 || ^3.0.0 but none is installed. You must install peer dependencies yourself.
5:31:33 AM: npm WARN slate@0.34.7 requires a peer of immutable@>=3.8.1 but none is installed. You must install peer dependencies yourself.
5:31:33 AM: npm WARN slate-edit-list@0.11.3 requires a peer of immutable@^3.8.2 but none is installed. You must install peer dependencies yourself.
5:31:33 AM: npm WARN slate-edit-list@0.11.3 requires a peer of slate@^0.32.0 but none is installed. You must install peer dependencies yourself.
5:31:33 AM: npm WARN slate-edit-table@0.15.2 requires a peer of immutable@^3.8.1 but none is installed. You must install peer dependencies yourself.
5:31:33 AM: npm WARN slate-edit-table@0.15.2 requires a peer of slate@^0.33.3 but none is installed. You must install peer dependencies yourself.
5:31:33 AM: npm WARN slate-plain-serializer@0.5.41 requires a peer of immutable@>=3.8.1 but none is installed. You must install peer dependencies yourself.
5:31:33 AM: npm WARN slate-react@0.12.9 requires a peer of immutable@>=3.8.1 but none is installed. You must install peer dependencies yourself.
5:31:33 AM: npm WARN slate-prop-types@0.4.67 requires a peer of immutable@>=3.8.1 but none is installed. You must install peer dependencies yourself.
5:31:33 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents):
5:31:33 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
5:31:34 AM: added 2975 packages from 2090 contributors and audited 69263 packages in 115.893s
5:31:34 AM: found 0 vulnerabilities
5:31:34 AM: NPM modules installed
5:31:34 AM: Started restoring cached go cache
5:31:34 AM: Finished restoring cached go cache
5:31:34 AM: unset GOOS;
5:31:34 AM: unset GOARCH;
5:31:34 AM: export GOROOT='/opt/buildhome/.gimme/versions/go1.10.linux.amd64';
5:31:34 AM: export PATH="/opt/buildhome/.gimme/versions/go1.10.linux.amd64/bin:${PATH}";
5:31:34 AM: go version >&2;
5:31:34 AM: export GIMME_ENV='/opt/buildhome/.gimme/env/go1.10.linux.amd64.env';
5:31:34 AM: go version go1.10 linux/amd64
5:31:34 AM: Installing missing commands
5:31:34 AM: Verify run directory
5:31:34 AM: Executing user command: npm run build
5:31:34 AM: > qards@0.1.1-alpha build /opt/build/repo
5:31:34 AM: > gatsby build
5:31:34 AM: success open and validate gatsby-configs — 0.009 s
5:31:35 AM: success load plugins — 0.550 s
5:31:36 AM: success onPreInit — 1.442 s
5:31:36 AM: success delete html and css files from previous builds — 0.041 s
5:31:36 AM: success initialize cache — 0.011 s
5:31:36 AM: success copy gatsby files — 0.027 s
5:31:36 AM: success onPreBootstrap — 0.011 s
5:31:37 AM: (node:1573) [DEP0016] DeprecationWarning: 'root' is deprecated, use 'global'
5:31:37 AM: success source and transform nodes — 1.172 s
5:31:38 AM: success building schema — 0.593 s
5:31:38 AM: [ { GraphQLError: Cannot query field "created_at" on type "frontmatter".
5:31:38 AM:     at Object.Field (/opt/build/repo/node_modules/graphql/validation/rules/FieldsOnCorrectType.js:65:31)
5:31:38 AM:     at Object.enter (/opt/build/repo/node_modules/graphql/language/visitor.js:324:29)
5:31:38 AM:     at Object.enter (/opt/build/repo/node_modules/graphql/language/visitor.js:366:25)
5:31:38 AM:     at visit (/opt/build/repo/node_modules/graphql/language/visitor.js:254:26)
5:31:38 AM:     at visitUsingRules (/opt/build/repo/node_modules/graphql/validation/validate.js:74:22)
5:31:38 AM:     at validate (/opt/build/repo/node_modules/graphql/validation/validate.js:59:10)
5:31:38 AM:     at graphqlImpl (/opt/build/repo/node_modules/graphql/graphql.js:106:50)
5:31:38 AM:     at /opt/build/repo/node_modules/graphql/graphql.js:66:223
5:31:38 AM:     at Promise._execute (/opt/build/repo/node_modules/bluebird/js/release/debuggability.js:313:9)
5:31:38 AM:     at Promise._resolveFromExecutor (/opt/build/repo/node_modules/bluebird/js/release/promise.js:483:18)
5:31:38 AM:     at new Promise (/opt/build/repo/node_modules/bluebird/js/release/promise.js:79:10)
5:31:39 AM:     at graphql (/opt/build/repo/node_modules/graphql/graphql.js:63:10)
5:31:39 AM:     at graphqlRunner (/opt/build/repo/node_modules/gatsby/dist/bootstrap/index.js:349:14)
5:31:39 AM:     at Promise (/opt/build/repo/gatsby-node.js:197:4)
5:31:39 AM:     at Promise._execute (/opt/build/repo/node_modules/bluebird/js/release/debuggability.js:313:9)
5:31:39 AM:     at Promise._resolveFromExecutor (/opt/build/repo/node_modules/bluebird/js/release/promise.js:483:18)
5:31:39 AM:     message: 'Cannot query field "created_at" on type "frontmatter".',
5:31:39 AM:     locations: [ [Object] ],
5:31:39 AM:     path: undefined } ]
5:31:39 AM: error gatsby-node.js returned an error
5:31:39 AM: 
5:31:39 AM:   TypeError: Cannot read property 'posts' of undefined
5:31:39 AM:   
5:31:39 AM:   - gatsby-node.js:236 graphql.then
5:31:39 AM:     /opt/build/repo/gatsby-node.js:236:36
5:31:39 AM:   
5:31:39 AM:   - util.js:16 tryCatcher
5:31:39 AM:     [repo]/[bluebird]/js/release/util.js:16:23
5:31:39 AM:   
5:31:39 AM:   - promise.js:512 Promise._settlePromiseFromHandler
5:31:39 AM:     [repo]/[bluebird]/js/release/promise.js:512:31
5:31:40 AM:   
5:31:40 AM:   - promise.js:569 Promise._settlePromise
5:31:40 AM:     [repo]/[bluebird]/js/release/promise.js:569:18
5:31:40 AM:   
5:31:40 AM:   - promise.js:606 Promise._settlePromiseCtx
5:31:40 AM:     [repo]/[bluebird]/js/release/promise.js:606:10
5:31:40 AM:   
5:31:40 AM:   - async.js:142 _drainQueueStep
5:31:40 AM:     [repo]/[bluebird]/js/release/async.js:142:12
5:31:40 AM:   
5:31:40 AM:   - async.js:131 _drainQueue
5:31:40 AM:     [repo]/[bluebird]/js/release/async.js:131:9
5:31:40 AM:   
5:31:40 AM:   - async.js:147 Async._drainQueues
5:31:40 AM:     [repo]/[bluebird]/js/release/async.js:147:5
5:31:40 AM:   
5:31:40 AM:   - async.js:17 Immediate.Async.drainQueues
5:31:40 AM:     [repo]/[bluebird]/js/release/async.js:17:14
5:31:40 AM:   
5:31:40 AM: 
5:31:40 AM: npm ERR! code ELIFECYCLE
5:31:40 AM: npm ERR! errno 1
5:31:40 AM: npm ERR! qards@0.1.1-alpha build: `gatsby build`
5:31:40 AM: npm ERR! Exit status 1
5:31:40 AM: npm ERR!
5:31:41 AM: npm ERR! Failed at the qards@0.1.1-alpha build script.
5:31:41 AM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
5:31:41 AM: npm ERR! A complete log of this run can be found in:
5:31:41 AM: npm ERR!     /opt/buildhome/.npm/_logs/2019-01-31T13_31_38_474Z-debug.log
5:31:41 AM: Caching artifacts
5:31:41 AM: Started saving node modules
5:31:41 AM: Finished saving node modules
5:31:41 AM: Started saving pip cache
5:31:41 AM: Finished saving pip cache
5:31:41 AM: Started saving emacs cask dependencies
5:31:41 AM: Finished saving emacs cask dependencies
5:31:41 AM: Started saving maven dependencies
5:31:41 AM: Finished saving maven dependencies
5:31:41 AM: Started saving boot dependencies
5:31:41 AM: Finished saving boot dependencies
5:31:41 AM: Started saving go dependencies
5:31:41 AM: Finished saving go dependencies
5:31:41 AM: Cached node version v8.15.0
5:31:41 AM: Error running command: Build script returned non-zero exit code: 1
5:31:41 AM: Failing build: Failed to build site
5:31:42 AM: failed during stage 'building site': Build script returned non-zero exit code: 1
5:31:42 AM: Finished processing build request in 2m16.329687524s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0