Skip to content

vitest crash: Unknown file extension ".jsx" for TanStack dependencies #7801

@byseif21

Description

@byseif21

Current Behavior

vitest is currently crashing when running any unit test that pulls in a dependency from the @tanstack/solid-* ecosystem (specifically @tanstack/solid-store).

existing tests work fine, but if a test imports anything that uses these newer TanStack libraries, it throws this error: TypeError: Unknown file extension ".jsx" for .../node_modules/@tanstack/solid-store/dist/source/index.jsx

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions