Skip to content

Vite 4.0.1 and "You appear to have multiple instances of Solid" #1426

@phungleson

Description

@phungleson

Describe the bug

Hey peeps,

I am trying to upgrade my app to vite v4.0.1, however it ran into the error in header. The site cannot be loaded due to the error.

The error is clear and I understand what it means. However, I couldn't pin point which part of the app/libs caused the issue.

It would be great if someone has any thoughts how to debug this?

Thanks!

Your Example Website or App

N/A

Steps to Reproduce the Bug or Issue

Change to vite in package.json to 4.0.1 and run vite.

Expected behavior

The issue should not be there and everything loads correctly.

Screenshots or Videos

N/A

Platform

  • OS: macOS
  • Browser: Chrome
  • Version: 108.0.5359.98 arm

Additional context

I am using latest of a few libs:

"solid-jest": "^0.2.0",
"solid-js": "^1.6.5",
"vite-plugin-solid": "^2.4.0"
"babel-preset-solid": "^1.6.2",
"solid-app-router": "^0.4.2",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions