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

   ### Bug description
   
   Error occur while running the angular 
   Command line to run angular
   ```ng serve```
   
   Error Description as terminal show
   ```
   Error: ./node_modules/@superset-ui/embedded-sdk/lib/index.js 82:45
   Module parse failed: Unexpected token (82:45)
   File was processed with these loaders:
    * ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js
    * ./node_modules/@ngtools/webpack/src/ivy/index.js
   You may need an additional loader to handle the result of these loaders.
   |         uiConfig: `${calculateConfig()}`
   |       } : undefined;
   >       const filterConfig = dashboardUiConfig?.filters || {};
   |       const filterConfigKeys = Object.keys(filterConfig);
   |       const filterConfigUrlParams = 
Object.fromEntries(filterConfigKeys.map(key => 
[_const.DASHBOARD_UI_FILTER_CONFIG_URL_PARAM_KEY[key], filterConfig[key]]));
   ```
   
   Node Version 14
   Angular version 11
   
   ### How to reproduce the bug
   
   while running the angular error show in terminal 
   ```
   Error: ./node_modules/@superset-ui/embedded-sdk/lib/index.js 82:45
   Module parse failed: Unexpected token (82:45)
   File was processed with these loaders:
    * ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js
    * ./node_modules/@ngtools/webpack/src/ivy/index.js
   You may need an additional loader to handle the result of these loaders.
   |         uiConfig: `${calculateConfig()}`
   |       } : undefined;
   >       const filterConfig = dashboardUiConfig?.filters || {};
   |       const filterConfigKeys = Object.keys(filterConfig);
   |       const filterConfigUrlParams = 
Object.fromEntries(filterConfigKeys.map(key => 
[_const.DASHBOARD_UI_FILTER_CONFIG_URL_PARAM_KEY[key], filterConfig[key]]));
   ```
   
![image](https://github.com/apache/superset/assets/52062174/e655788e-552d-44b8-9b3b-74bf62906b1e)
   
   
   ### Screenshots/recordings
   
   _No response_
   
   ### 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.
   - [ ] 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