question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deploy to Heroku error with webpack-isomorphic-tools

See original GitHub issue

I tried to deploy a fork of the most recent master code to heroku and I’m getting the following error:

2015-09-11T13:39:49.921006+00:00 heroku[web.1]: Starting process with command `node ./bin/server.js`
2015-09-11T13:39:53.023337+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:39:54.028752+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:39:55.030908+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:39:56.032466+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:39:57.034563+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:39:58.036016+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:39:59.037285+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:00.042810+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:01.044237+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:02.045716+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:03.047030+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:04.048994+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:05.049742+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:06.050701+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:07.052019+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:08.054934+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:09.058236+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:10.060174+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:11.062100+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:12.062599+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:13.070200+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:14.071734+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:15.074035+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:16.083350+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:17.093033+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:18.094801+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:19.102577+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:20.110579+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:21.188461+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:22.190858+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:23.222602+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:24.223778+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:25.227615+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:26.229278+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:27.230588+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:28.232054+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:29.233762+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:30.234665+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:31.235917+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:32.238579+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:33.240639+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:34.243125+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:35.255975+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:36.257433+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:37.259235+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:38.259736+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:39.261054+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:40.262579+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:41.264029+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:42.265488+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:43.267105+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:44.268845+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:45.270212+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:46.271662+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:47.273113+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:48.274556+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:49.276066+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:50.278581+00:00 app[web.1]: [webpack-isomorphic-tools] (waiting for the first Webpack build to finish)
2015-09-11T13:40:50.419886+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2015-09-11T13:40:50.419886+00:00 heroku[web.1]: Stopping process with SIGKILL
2015-09-11T13:40:51.530662+00:00 heroku[web.1]: Process exited with status 137
2015-09-11T13:40:51.551459+00:00 heroku[web.1]: State changed from starting to crashed

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
erikrascommented, Sep 11, 2015

If you’re deploying from a git repo, you need to

npm run build
git add -f webpack-stats.json
git add -f static/dist/*

every time you deploy. See heroku branch.

1reaction
bdeforecommented, Oct 15, 2015

Note also that you may see the same error if you haven’t done your npm build step before running npm start

Read more comments on GitHub >

github_iconTop Results From Across the Web

1 Answer - 1 - Stack Overflow
Heroku with react server side render, error "Cannot find module '../public/webpack-assets.json' ... friends: I'm Jose. I'm trying deploy an App ...
Read more >
Never reaches following code every second time · Issue #108 ...
webpack -isomorphic-tools instrument Node.js'es require() function with its own ... Oh, I see now: it's a heroku specufic issue when it shuts down...
Read more >
Troubleshooting Node.js Deploys - Heroku Dev Center
Your Node.js deploy failed - now what? Start with these simple steps to troubleshoot a build issue. Check the buildpack.
Read more >
Creating isomorphic React+Redux App and deploying it on ...
In development mode, here webpack dev server could be added. Let's create the basic services launch files, before doing this, install necessary dependencies:...
Read more >
Isomorphic React/Preact with Heroku - CrispDev
Hint: We should ensure that the build process works before pushing codes. Otherwise, deployment fails. Optimizing and Preact. After the launch ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found