Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaffolding your first tanstack router project throws an error with the npm command #3146

Open
shreyasvaidya9 opened this issue Jan 12, 2025 · 0 comments

Comments

@shreyasvaidya9
Copy link

Which project does this relate to?

Router

Describe the bug

When running the create command of scaffolding your tanstack router project, I get an error of unable to resolve dependency tree.
The detailed error is given in the screenshot below.

Your Example Website or App

NA

Steps to Reproduce the Bug or Issue

  1. Open the link: https://tanstack.com/router/latest/docs/framework/react/quick-start#scaffolding-your-first-tanstack-router-project
  2. Run the npm command on terminal: npm create @tanstack/router@latest
  3. You will get a prompt to install @tanstack/[email protected], click y and then Enter to proceed with the installation.
  4. Now you will get the error.

Expected behavior

The command should be able to make me create a tanstack router project with npm. I tried the pnpm command mentioned below the npm command. The pnpm command works properly and I am able to create a project with it.

Screenshots or Videos

Image

Platform

  • OS: Ubuntu
  • Browser: NA
  • Version: Tanstack router version: 1.95.3, Nodejs version 22.12.0

Additional context

There is some issue regarding peer dependency of React library version 19.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant