Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing canvg and html2canvas dependencies when building using docker-compose #27089

Closed
1 of 3 tasks
fisjac opened this issue Feb 12, 2024 · 2 comments
Closed
1 of 3 tasks

Comments

@fisjac
Copy link
Contributor

fisjac commented Feb 12, 2024

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

  • 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.
@michael-s-molina
Copy link
Member

Fixed by #27091

@fisjac
Copy link
Contributor Author

fisjac commented Mar 1, 2024

I'm still seeing this error when running in docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants