superset icon indicating copy to clipboard operation
superset copied to clipboard

missing canvg and html2canvas dependencies when building using docker-compose

Open fisjac opened this issue 1 year ago • 0 comments

Bug description

When building superset using docker compose, the webpack will build node_modules without optional the optional dependencies canvg and html2canvas. This results in an error message when the superset_node container runs.

How to reproduce the bug

Navigate to superset directory and run docker compose up.

Screenshots/recordings

image

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • [X] I have searched Superset docs and Slack and didn't find a solution to my problem.
  • [ ] I have searched the GitHub issue tracker and didn't find a similar bug report.
  • [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

fisjac avatar Feb 12 '24 20:02 fisjac