Skip to content

Removing tanstack query provider causes integration to stop working #372

Description

@Lighno

Which project does this relate to?

Create Tanstack App

Describe the bug

Creating a new app using @tanstack/cli@latest create app --package-manager bun --add-ons tanstack-query creates a faulty app

Your Example Website or App

https://stackblitz.com/~/github.com/Lighno/tanstack-repro

Steps to Reproduce the Bug or Issue

  1. Create a new app using @tanstack/cli@latest create app --add-ons tanstack-query
  2. Run the dev command
  3. Go to the site

Expected behavior

No import errors

Screenshots or Videos

No response

Platform

  • OS: Linux
  • Browser: Chrome, Safari, Firefox
  • Version: [e.g. 91.1]

Additional context

I think the following commit 46a4903 is what caused this, I'd be happy to make the fix if someone could explain what the necessary change is as I'm not sure if you need to change the config from being a provider to something else or remove the provider section from the addon config

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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