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.

Hanging during Docker webpack build

See original GitHub issue

I’m attempting to setup Superset on an AWS t3.micro instance. When running:

cd incubator-superset/contrib/docker && \
  docker-compose run --rm superset ./docker-init.sh

The command hangs during the webpack build phase.

Expected results

The build will complete.

Actual results

The command hangs with the following output:

# ...
 > https://www.justgiving.com/refugee-support-europe

added 2514 packages in 31.406s

> superset@0.999.0-dev build /home/superset/superset/assets
> NODE_ENV=production webpack --mode=production --colors --progress

clean-webpack-plugin: /home/superset/superset/assets/dist has been removed.
Starting type checking service...
Using 1 worker with 2048MB memory limit
 90% chunk assets processing


Screenshots

N/A

How to reproduce the bug

  1. Clone repository
  2. Run: cd incubator-superset/contrib/docker
  3. Run: docker-compose run --rm superset ./docker-init.sh
  4. See hanging build.

Environment

(please complete the following information):

  • OS: Ubuntu Xenial 16.04
  • superset version: master
  • python version: n/a
  • node.js version: n/a
  • npm version: n/a

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven’t found one similar.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
marmikcfccommented, Sep 20, 2019

Hi, to whomsoever it may help, I was able to get it working after increasing the total runtime memory available to docker from 2GB to 4GB.

Reference: https://docs.docker.com/docker-for-mac/

1reaction
issue-label-bot[bot]commented, Apr 25, 2019

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.65. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hanging during Docker webpack build · Issue #7381 - GitHub
The command hangs during the webpack build phase. Expected results. The build will complete. Actual results. The command hangs with the ...
Read more >
node webpack hangs. How to debug? - docker - Stack Overflow
There is a known issue when a NodeJs process hangs while you run it from the root user. As I know, there is...
Read more >
Docker build hangs - General Discussions
It seems like the docker build image is not allowed access through whatever default networking setup is there after installation. Weird.
Read more >
Running WebpackDevServer in Docker - DEV Community ‍ ‍
Sometimes we want to run webpack-dev-server in a Docker container. The reason might be like following. Want to use a specific Node.js version ......
Read more >
Building Docker Images Faster for Webpack - Okteto
BuildKit enables us to configure cache folders for the RUN instructions in our Dockerfile.
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