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)
- Bar Chart: Bar Chart Echart X Axis and Y Axis labels not showing HOT 3
- The default URL generated by Dashboard has security risksοΌ HOT 22
- Advanced Period filter bug HOT 2
- Switching languages doesn't take effect on some menu elements if BABEL_DEFAULT_LOCALE is not "en" HOT 11
- ENABLE_JAVASCRIPT_CONTROLS use HOT 2
- [SIP-144] Proposal to Integrate VisActor Visualization Plugin into Superset HOT 2
- Dashboard Color Scheme keeps changing every refresh HOT 4
- Bug: fetchGuestToken function is not called after internet is disconnected and error is encountered during embedded report access HOT 3
- The in-memory storage for tracking rate limits HOT 14
- Filtered values not appearing/not working after selected from dropdown Post Migration to Latest SS Version HOT 6
- Proxy is unable to function properly HOT 8
- Importing example dataset failes because of database constraint HOT 3
- DynamoDB Chart Failure HOT 1
- Unable to create/see datasets HOT 1
- [4.1.0rc1] Building Docker image from sources fails HOT 3
- `Error: Referenced columns not available in DataFrame` in Mixed Charts when one query has only nulls HOT 1
- Inconsistencies in the handling of misspelled URLs HOT 2
- AttributeError: 'Template' object has no attribute 'strip' HOT 3
- Embedded view shows only [Error: column "string" does not exist] HOT 2
- bug when updating chart /api/v1/chart/{pk} 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.