这是indexloc提供的服务,不要输入任何密码
Skip to content

Dashboard Build Errors: Plugin Error, Failed to load native binding #3929

@michaelbromley

Description

@michaelbromley

If you run into issues when running npx vite on the Dashboard, this is likely due to a problem introduced in recent versions of the @swc/core package, which is the compiler we use internally to compile your code so we can analyze your configuration & schema.

The solution is to pin the version of @swc/core to 1.13.5. You can do so by adding this to your package.json:

{
  "overrides": {
    "@swc/core": "1.13.5"
  }
}

and then reinstalling packages with npm install.

If the swc package does not get fixed before the next release we will perform this pinning internally in the next patch.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions