Skip to content

Failed to resolve entry for package "@tanstack/solid-query" when upgrading to solid-query 5.0.0 #5612

@MattJustMatt

Description

@MattJustMatt

Describe the bug

I’m trying to migrate a small project I wrote with solid-query from v4 to v5. I’ve tried wiping node_modules and starting fresh but Vite can’t bundle solid-query for some reason with the error in the title.

Your minimal, reproducible example

//

Steps to reproduce

Install solid-query latest alpha,
Try to include it in a Vite bundled project

Expected behavior

Normal behavior with the new API

How often does this bug happen?

Every time

Screenshots or Videos

No response

Platform

Windows,
SolidJS project using the solid vite template

Tanstack Query adapter

solid-query

TanStack Query version

Alpha 68

TypeScript version

4.9.5

Additional context

No response

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