lvarayut / lvarayut/relay-fullstack

Heroku Build getting failed

Open
#110 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
978
Forks
119
PR merge metrics
No merged PRs in 30d

Description

I have cloned the repo and linked with Heroku, But I'm getting the build error, Can someone help me on this? @crucialfelix @claym @jg123 @arnif @sankalpk

-----> Node.js app detected

-----> Creating runtime environment

NPM_CONFIG_LOGLEVEL=error
NODE_ENV=production
NODE_MODULES_CACHE=true
NODE_VERBOSE=false

-----> Installing binaries
engines.node (package.json): >=6.6.0
engines.npm (package.json): >=3.10.8
engines.yarn (package.json): unspecified (use default)

Resolving node version >=6.6.0...
Downloading and installing node 12.7.0...
Bootstrapping npm >=3.10.8 (replacing 6.10.0)...
npm >=3.10.8 installed
Resolving yarn version 1.x...
Downloading and installing yarn (1.17.3)...
Installed yarn 1.17.3

-----> Installing dependencies
Installing node modules (yarn.lock)
yarn install v1.17.3
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.1: The platform "linux" is incompatible with this module.
info "fsevents@1.1.1" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > react-mdl@1.11.0" has incorrect peer dependency "react@0.14.x || ^15.0.0-rc".
warning " > react-mdl@1.11.0" has incorrect peer dependency "react-dom@0.14.x || ^15.0.0-rc".
warning "react-relay > relay-runtime@1.4.1" has incorrect peer dependency "relay-compiler@1.4.1".
warning "react-router-relay > react-static-container@1.0.1" has incorrect peer dependency "react@^0.13.0 || ^0.14.0 || ^15.0.0".
[4/4] Building fresh packages...
Done in 47.99s.

-----> Build
Running heroku-postbuild (yarn)
yarn run v1.17.3
$ cross-env NODE_ENV=production webpack --config webpack.config.js && cross-env NODE_ENV=production ./node_modules/.bin/babel ./server --out-dir ./lib
Hash: b19942a7fb58fe42f49c
Version: webpack 3.8.1
Time: 28009ms
Asset Size Chunks Chunk Names
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-57x57.png 4.88 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-72x72.png 6.73 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-60x60.png 5.22 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-120x120.png 12.5 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-152x152.png 16.6 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-144x144.png 15.6 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-167x167.png 18.5 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-180x180.png 20.4 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-114x114.png 11.9 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-precomposed.png 20.4 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-76x76.png 7.11 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon.png 20.4 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/android-chrome-48x48.png 4.2 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/android-chrome-36x36.png 2.78 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/android-chrome-72x72.png 7.4 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/android-chrome-96x96.png 10.5 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/android-chrome-144x144.png 17.1 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/android-chrome-192x192.png 23.8 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/android-chrome-256x256.png 33.4 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/android-chrome-384x384.png 55.8 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/android-chrome-512x512.png 83.6 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/favicon-16x16.png 801 bytes [emitted]
icons-cc4a24232900b36655174d837376d93c/favicon-32x32.png 2.3 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/favicon-96x96.png 10.5 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/favicon-230x230.png 29.7 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/favicon.ico 33.3 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-320x460.png 42 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-640x920.png 113 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-640x1096.png 114 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-768x1004.png 148 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-750x1294.png 145 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-748x1024.png 135 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-1182x2208.png 206 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-1242x2148.png 313 kB [emitted] [big]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-1496x2048.png 389 kB [emitted] [big]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-1536x2008.png 428 kB [emitted] [big]
icons-cc4a24232900b36655174d837376d93c/firefox_app_60x60.png 6.63 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/firefox_app_128x128.png 17.6 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/firefox_app_512x512.png 99.1 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/manifest.json 1.22 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/manifest.webapp 258 bytes [emitted]
icons-cc4a24232900b36655174d837376d93c/.cache 7.49 kB [emitted]
assets/d206d2e2f1fdb8e4d9d7413d694a5e3b.png 38.7 kB [emitted]
assets/5e61d42f90dec92bff7469af6cfa9d0d.png 274 kB [emitted] [big]
assets/9fe7584b6d29bec74a66024829929697.png 16.4 kB [emitted]
assets/b8e28b87360ea89a0a480e0f3c6f7dbd.png 23.5 kB [emitted]
assets/05d6144b469f642bbdb658d00ac86ca4.png 31.6 kB [emitted]
assets/51639fae709b54583375e29c5b37cd35.png 3.42 kB [emitted]
assets/cc4a24232900b36655174d837376d93c.png 57 kB [emitted]
assets/ceb93e626a615170db0bdcafecdfa2bb.png 5.53 kB [emitted]
assets/52babf49fcfc71790b5dd4dfce8d69fb.png 11.5 kB [emitted]
assets/c7cf5a9ec08c90b691ec092ee8839c4a.png 54.5 kB [emitted]
assets/37fe8322b169ddbdeabf75930e886ac6.png 49 kB [emitted]
assets/92bf77d3b4b73653b20eae7b4ee7dccc.png 25.9 kB [emitted]
assets/4ddcd5c7b92b7d8071d31305e857c15d.png 54.7 kB [emitted]
app.js 268 kB 0 [emitted] [big] app
vendor.js 666 kB 1 [emitted] [big] vendor
index.html 4.91 kB [emitted]
[43] (webpack)/buildin/global.js 488 bytes {1} [built]
[208] (webpack)/buildin/module.js 495 bytes {1} [built]
[318] ./client/assets/yeoman.png 89 bytes {0} [built]
[319] multi ./client/index.js 28 bytes {0} [built]
[320] ./client/index.js 944 bytes {0} [built]
[335] ./client/root.js 931 bytes {0} [built]
[606] ./client/routes/Route.js 1.54 kB {0} [built]
[607] ./client/routes/ViewerQuery.js 819 bytes {0} [built]
[687] ./client/assets ^\.\/.*\.png$ 373 bytes {0} [built]
[688] ./client/assets/babel.png 89 bytes {0} [optional] [built]
[689] ./client/assets/css.png 89 bytes {0} [optional] [built]
[690] ./client/assets/express.png 89 bytes {0} [optional] [built]
[691] ./client/assets/graphql.png 89 bytes {0} [optional] [built]
[692] ./client/assets/html5.png 89 bytes {0} [optional] [built]
[702] multi react react-dom react-mdl react-relay react-router react-router-relay 88 bytes {1} [built]
+ 690 hidden modules

ERROR in ./client/components/Feature/AddFeatureMutation.js
Module not found: Error: Can't resolve './__generated__/AddFeatureMutation.graphql' in '/tmp/build_499e01a560b17122c64193c77e94e4e4/client/components/Feature'
@ ./client/components/Feature/AddFeatureMutation.js 11:11-64
@ ./client/components/Feature/AddFeatureComponent.js
@ ./client/components/Feature/FeatureComponent.js
@ ./client/components/Feature/FeatureContainer.js
@ ./client/routes/Route.js
@ ./client/root.js
@ ./client/index.js
@ multi ./client/index.js

ERROR in ./client/components/App/AppContainer.js
Module not found: Error: Can't resolve './__generated__/AppContainer_viewer.graphql' in '/tmp/build_499e01a560b17122c64193c77e94e4e4/client/components/App'
@ ./client/components/App/AppContainer.js 22:13-67
@ ./client/routes/Route.js
@ ./client/root.js
@ ./client/index.js
@ multi ./client/index.js

ERROR in ./client/components/Feature/FeatureContainer.js
Module not found: Error: Can't resolve './__generated__/FeatureContainer_viewer.graphql' in '/tmp/build_499e01a560b17122c64193c77e94e4e4/client/components/Feature'
@ ./client/components/Feature/FeatureContainer.js 18:13-71
@ ./client/routes/Route.js
@ ./client/root.js
@ ./client/index.js
@ multi ./client/index.js

ERROR in ./client/components/Footer/FooterContainer.js
Module not found: Error: Can't resolve './__generated__/FooterContainer_viewer.graphql' in '/tmp/build_499e01a560b17122c64193c77e94e4e4/client/components/Footer'
@ ./client/components/Footer/FooterContainer.js 18:13-70
@ ./client/components/App/AppContainer.js
@ ./client/routes/Route.js
@ ./client/root.js
@ ./client/index.js
@ multi ./client/index.js
Child html-webpack-plugin for "index.html":
1 asset
[0] ./node_modules/html-webpack-plugin/lib/loader.js!./client/index.html 4.63 kB {0} [built]
[2] (webpack)/buildin/global.js 488 bytes {0} [built]
[3] (webpack)/buildin/module.js 495 bytes {0} [built]
+ 1 hidden module
Child favicons-webpack-plugin for "iconstats-[hash].json":
Asset Size Chunks Chunk Names
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-57x57.png 4.88 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-72x72.png 6.73 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-60x60.png 5.22 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-120x120.png 12.5 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-152x152.png 16.6 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-144x144.png 15.6 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-167x167.png 18.5 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-180x180.png 20.4 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-114x114.png 11.9 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-precomposed.png 20.4 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon-76x76.png 7.11 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-icon.png 20.4 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/android-chrome-48x48.png 4.2 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/android-chrome-36x36.png 2.78 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/android-chrome-72x72.png 7.4 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/android-chrome-96x96.png 10.5 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/android-chrome-144x144.png 17.1 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/android-chrome-192x192.png 23.8 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/android-chrome-256x256.png 33.4 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/android-chrome-384x384.png 55.8 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/android-chrome-512x512.png 83.6 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/favicon-16x16.png 801 bytes [emitted]
icons-cc4a24232900b36655174d837376d93c/favicon-32x32.png 2.3 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/favicon-96x96.png 10.5 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/favicon-230x230.png 29.7 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/favicon.ico 33.3 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-320x460.png 42 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-640x920.png 113 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-640x1096.png 114 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-768x1004.png 148 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-750x1294.png 145 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-748x1024.png 135 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-1182x2208.png 206 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-1242x2148.png 313 kB [emitted] [big]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-1496x2048.png 389 kB [emitted] [big]
icons-cc4a24232900b36655174d837376d93c/apple-touch-startup-image-1536x2008.png 428 kB [emitted] [big]
icons-cc4a24232900b36655174d837376d93c/firefox_app_60x60.png 6.63 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/firefox_app_128x128.png 17.6 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/firefox_app_512x512.png 99.1 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/manifest.json 1.22 kB [emitted]
icons-cc4a24232900b36655174d837376d93c/manifest.webapp 258 bytes [emitted]
icons-cc4a24232900b36655174d837376d93c/.cache 7.49 kB [emitted]
+ 1 hidden asset
[0] ./node_modules/favicons-webpack-plugin/lib/favicons.js?{"outputFilePrefix":"icons-[hash]/","icons":{"android":true,"appleIcon":true,"appleStartup":true,"coast":false,"favicons":true,"firefox":true,"opengraph":false,"twitter":false,"yandex":false,"windows":false},"background":"#fff","persistentCache":true,"appName":"relay-fullstack"}!./client/assets/logo.png 7.38 kB {0} [built]
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
-----> Build failed

We're sorry this build is failing! You can troubleshoot common issues here:
https://devcenter.heroku.com/articles/troubleshooting-node-deploys

Some possible problems:

- Dangerous semver range (>) in engines.node
https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version

Love,
Heroku

! Push rejected, failed to compile Node.js app.
! Push failed

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Heroku postbuild command in package.json and inspect the client files named in the build trace: client/components/Feature/AddFeatureMutation.js, client/components/App/AppContainer.js, and client/components/Feature/FeatureContainer.js. Reproduce the webpack build and determine why their referenced generated GraphQL files are unavailable; done means the Heroku build completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, javascript, node.js, react, webpack
Domain
build-system, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.