Giter VIP home page Giter VIP logo

Comments (3)

dosubot avatar dosubot commented on June 9, 2024 2

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:

  1. Ensure TypeScript Compatibility: Verify your project's tsconfig.json aligns with TypeScript version ^4.5.5, as used by @superset-ui/embedded-sdk.

  2. Adjust Webpack Configuration: Your Angular project's Webpack configuration may need to be updated to properly handle .js, .ts, and .tsx files with babel-loader.

  3. 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.

  4. Review Dependencies Compatibility: Confirm that all dependencies and peer dependencies are compatible, especially those directly related to @superset-ui/embedded-sdk.

  5. Angular Version Check: Since you're on Angular 11, ensure there are no compatibility issues with the SDK version you're using.

  6. 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


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.

dosubot avatar dosubot commented on June 9, 2024

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.

Tejas20002 avatar Tejas20002 commented on June 9, 2024

while running the angular project i facing error and i cannot my site

from superset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.