richardfogaca opened a new issue, #34681:
URL: https://github.com/apache/superset/issues/34681

   ### Bug description
   
   ## deck.gl aggregated charts fail with "ReferenceError: module is not 
defined"
   
   ### Description
     All deck.gl aggregated chart types (Grid, Contour, Hexagon, Screengrid, 
Heatmap) fail to render with a ReferenceError in a fresh Superset installation.
     The error message indicates that `module` is not defined, suggesting a 
potential module loading or bundling issue.
   
     ### Expected Behavior
     deck.gl aggregated charts should render properly when selected from the 
chart list.
   
     ### Actual Behavior
     When opening any deck.gl aggregated chart, the visualization fails with: 
   Data error 
   An error occurred while rendering the visualization: ReferenceError: module 
is not defined
   
     ### Steps to Reproduce
     1. Fresh install of Superset using Docker Compose
     2. Run `docker compose up`
     3. Navigate to Charts list
     4. Select any of the following chart types:
        - Grid
        - Contour
        - Hexagon
        - Screengrid
        - Heatmap
     5. Observe the error message
   
     ### Screenshots
   <img width="1488" height="309" alt="Image" 
src="https://github.com/user-attachments/assets/076a1362-4586-4a96-86cc-4664d3f1becd";
 />
   
     ### Additional Context
     - The issue appears to be specific to deck.gl aggregated charts
     - The error suggests a JavaScript module loading issue, possibly related 
to webpack configuration or deck.gl library integration
     - This occurs on a clean installation with no custom configurations
   
     ### Possible Root Cause
     The error "module is not defined" typically indicates:
     - Missing webpack configuration for deck.gl modules
     - CommonJS/ES6 module compatibility issues
     - Missing polyfills or module loaders
     - Incorrect bundling of deck.gl dependencies
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.10
   
   ### Node version
   
   18 or greater
   
   ### 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 an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to