Unexpected Error on SQL Lab
Bug description
I was using docker compose when installing Apache Superset, using this tutorial https://superset.apache.org/docs/installation/docker-compose/
everything going ok except when I go to SQL Lab menu, it shows "Unexpected error: Error: Cannot find module 'core-js/library/fn/array/fill'"
what I know is maybe that because the version of core-js, because path 'core-js/library/fn/array/fill' only available on core-js 2 or lower, but in superset is using core-js 3, is there something that can I do to fix this error?
How to reproduce the bug
- Install apache superset using docker compose using this tutorial https://superset.apache.org/docs/installation/docker-compose/
- Login
- Go to SQL -> SQL Lab menu
Screenshots/recordings
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.
- [X] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [X] 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.
This is probably a good idea, yet we should consider potential consequences. I don't think there's a huge impact. https://github.com/crystal-lang/crystal/pull/14493#issuecomment-2064134913 mentions smaller memory footprint, but that's not very relevant considering select statements are pretty rare and typically have only a handfull of branches.
There's a chance that the syntax for when in select and case might evolve into different directions in the future. I don't see anything like that happening and if it does we could still consider going back to different types.