npm install tanstackrouternot working
@tanstack/router installation is not working it says: "Not found" is it released or do we need to wait?
9 Replies
stormy-gold•4y ago
It's still in development
If you want to use its predecessor, install
react-locationinland-turquoise•4y ago
I was also very confused by this 😅
What's the difference between router and location?
What's the difference between router and location?
metropolitan-bronze•4y ago
You were not alone, it took me hours to find out what's going on. react-router is the upcoming new version (v4) and react location is v3.
absent-sapphire•3y ago
Following the guide at https://tanstack.com/router/v1/docs/installation I try
npm install @tanstack/react-router@beta --save , this gives me:
Installation | TanStack Router Docs
You can install TanStack Router with NPM,
Yarn, or a good ol' `` via
unpkg.com.
absent-sapphire•3y ago
It also does not work with yarn
genetic-orange•3y ago
I am getting the same with the latest version - hopefully it'll be fixed soon.
In the meantime beta.38 installs ok.
absent-sapphire•3y ago
it works now! Thanks whoever!
stormy-gold•3y ago
Any errors?
absent-sapphire•3y ago
Not when installing no. Did not get any further yet 🙂
Small documentation thing: the docs use
@tanstack/react-router when installing, and '@tanstack/router' in Route Configs.