Git Product home page Git Product logo

Comments (2)

dosubot avatar dosubot commented on September 13, 2024 3

Hello, @ThanhDC-ominext! I'm here to help you out with any bugs, questions, or contributions you have regarding this project. Let's tackle this issue together!

I found several similar issues and discussions related to the @superset-ui/switchboard package and its integration with other tools:

  1. Closed Issues:

  2. Suggested Solutions:

    • Explicitly install version 1.5.0 of @superset-ui/switchboard:

      yarn add @superset-ui/switchboard@^1.5.0

      This workaround has helped others resolve similar issues [2].

    • Temporary fix by modifying package.json:

      1. Go to node_modules/@superset-ui/embedded-sdk
      2. Change dependencies in package.json from "@superset-ui/switchboard": "^0.18.26-0" to "=0.18.26-0"
      3. Manually run npm install [3].

The main and module fields specified in the package.json of the @superset-ui/switchboard package are:

  • main: "lib/index.js"
  • module: "esm/index.js" [4].

These fields might be causing the issue with Vite. You can try the suggested solutions to see if they resolve the problem.

To continue talking to Dosu, mention @dosu.

from superset.

hainenber avatar hainenber commented on September 13, 2024 1

RC found. When you add @superset-ui/embedded-sdk, it'll pull its dependency @superset-ui/switchboard which according to this semver semantic, to be 0.18.27. For some unknown reasons, the compiled codes are purged in this version!

Source: https://www.npmjs.com/package/@superset-ui/switchboard/v/0.18.27?activeTab=code

image

I'll probably open a PR to fix this

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.