Comments (3)
The error you're encountering with the @superset-ui/embedded-sdk
in your Angular project is likely due to a combination of factors related to ES6 syntax parsing, TypeScript, and Webpack configurations. Here's a streamlined approach to troubleshoot and potentially resolve the issue:
-
Ensure TypeScript Compatibility: Verify your project's
tsconfig.json
aligns with TypeScript version^4.5.5
, as used by@superset-ui/embedded-sdk
. -
Adjust Webpack Configuration: Your Angular project's Webpack configuration may need to be updated to properly handle
.js
,.ts
, and.tsx
files withbabel-loader
. -
Check Babel Configuration: Make sure your project includes a
.babelrc
or equivalent configuration that matches the Babel setup used by the SDK, particularly with presets like@babel/preset-env
and@babel/preset-typescript
. -
Review Dependencies Compatibility: Confirm that all dependencies and peer dependencies are compatible, especially those directly related to
@superset-ui/embedded-sdk
. -
Angular Version Check: Since you're on Angular 11, ensure there are no compatibility issues with the SDK version you're using.
-
Node Version: Consider using Node version
v18.20.1
as recommended by Superset, especially if you're currently on Node 14 or 16.
For further assistance, you might want to look into similar issues reported in the @superset-ui/embedded-sdk
GitHub repository or consider reporting this issue if it persists after trying the above steps.
Details
Sources
- embedded-sdk Issue while integrating it with Angular
- superset-embedded-sdk/package.json
- superset-frontend/.nvmrc
- superset-embedded-sdk/README.md
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
To continue the conversation, mention @dosu.
from superset.
Hey there, @Tejas20002! 🎉 I'm Dosu, a bot here to help you navigate the quirks and queries of the Superset repo while we wait for a human maintainer to swoop in. If you've got bugs to squash, questions to ask, or are looking to contribute, I'm your go-to assistant in the meantime. Now, let's dive into this issue of yours and see if we can't get to the bottom of it together!
from superset.
while running the angular project i facing error and i cannot my site
from superset.
Related Issues (20)
- Create Dashboard API not working HOT 1
- Permalinks doesn't work: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte HOT 1
- [SIP] Hide inactive users
- Unable to retrieve Datasets from SST Api HOT 8
- Alerts & Reports - CSV as Message Content resulting HTTP 500 HOT 1
- Can't access database in SQL lab HOT 6
- When requesting a Guest Token API, error code 422 is reported HOT 1
- Fatal error while saving query as dataset with Doris and {{ from_dttm }} & {{ to_dttm }} HOT 2
- Query saved paramters HOT 4
- "View as table" option on graphs/slices does not bypass the cache HOT 1
- [SIP] Proposal for aggregate dimensions
- Error in Add Alert form when upgrading to version 4.0.1 HOT 4
- how to edit dd.mm.yyyy dateformat in apache superset-ui-chart-controls HOT 1
- Pivot Table (legacy) sum issues HOT 1
- Login shows endless loading HOT 1
- Superset 4.0.1 uses again outdated setuptools 58.1.0 with CVE HOT 2
- missing redis-update in superset 4.0.1 => redis 4.6.0 HOT 2
- superset 4.0.1 uses Gunicorn 21.2.0 with CVE => should update to 22.0.0 HOT 6
- superset 4.0.1 uses werkzeug 3.0.1 with CVE => should update to 3.0.3 or newer HOT 2
- superset 4.0.1 uses sqlparse 0.4.4 with two high CVE findings => update to 0.5.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superset.