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.

Problem installing Superset via Docker

See original GitHub issue

Following the “Start with Docker” instructions from: https://superset.incubator.apache.org/installation.html

When executing the following command: https://superset.incubator.apache.org/installation.html

I get the warning: (node:6) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase limit in red color and then:

clean-webpack-plugin: /home/superset/superset/assets/dist has been removed. Starting type checking service… Using 1 worker with 2048MB memory limit 92% chunk asset optimization TerserPluginnpm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! superset@0.999.0-dev build: cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=production webpack --mode=production --colors --progress npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the superset@0.999.0-dev build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/superset/.npm/_logs/2019-09-10T16_43_28_302Z-debug.log ERROR: Service ‘superset’ failed to build: The command ‘/bin/sh -c cd superset/assets && npm ci && npm run build && rm -rf node_modules’ returned a non-zero code: 1

Afther this the instalation stops. I don’t understand what do I need to do in order for Superset to install normally.

Thanks in advance.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
domehead100commented, Sep 15, 2019

Just ran into this trying to run superset in docker (Docker Desktop for Windows with Linux containers). Docker has 8GB of memory and 1GB of swap.

Seems this might be related to https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/272, though that issue is related to Uglify is closed and they seem to think it is fixed in the Terser plugin, but it seems it might not be entirely fixed.

I did increase the swap from 1GB to 2GB, and then it built okay on the second attempt.

4reactions
issue-label-bot[bot]commented, Sep 10, 2019

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.75. 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

Installing Locally Using Docker Compose - Apache Superset
1. Install a Docker Engine and Docker Compose​ · 2. Clone Superset's GitHub repository​ · 3. Launch Superset Through Docker Compose​ · 4....
Read more >
Problem installing Superset via Docker · Issue #8211 - GitHub
Following the "Start with Docker" instructions from: https://superset.incubator.apache.org/installation.html When executing the following ...
Read more >
Apache Superset error when installing locally using Docker ...
Try running docker-compose down -v and then run docker compose up . If the above fails, try upgrading your docker installation. Installing a...
Read more >
Installation & Configuration - apache-superset - Read the Docs
To try Superset locally, the best-supported currently method is via Docker, using docker-compose . Superset does not have official support for Windows, ...
Read more >
Running Apache Superset as a Docker Container - Medium
A couple of days back, I wrote the post about how to run Apache Superset in the production environment for serving hundreds or...
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