Unable to upgrade from v3 to v4
Describe the bug
I have been trying to upgrade from v3 to v4 and wanted to install the new package as described in the documentation. Unfortunately the packages do not seem to exist:
npm i --save @tanstack/react-query
npm ERR! code ENOVERSIONS
npm ERR! No versions available for @tanstack/react-query
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/doberkofler/.npm/_logs/2022-07-19T13_08_25_064Z-debug-0.log
Your minimal, reproducible example
n.a.
Steps to reproduce
npm i --save @tanstack/react-query
npm ERR! code ENOVERSIONS
npm ERR! No versions available for @tanstack/react-query
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/doberkofler/.npm/_logs/2022-07-19T13_08_25_064Z-debug-0.log
Expected behavior
n.a.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
macOS 12.4
react-query version
18.2.0
TypeScript version
4.7.4
Additional context
No response
Same here, it was working couple of hours ago, now it is not.
yeah we did "something", not sure what. Tanner and I are looking into it. sorry for that.
Same problem...
npm i @tanstack/react-query
npm ERR! code ENOVERSIONS
npm ERR! No versions available for @tanstack/react-query
With yarn
yarn add v1.22.17
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
error Received malformed response from registry for "@tanstack%2freact-query". The registry may be down.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
With pnpm
ERR_PNPM_MALFORMED_METADATA Received malformed metadata for "@tanstack/react-query"
This might mean that the package was unpublished from the registry
Progress: resolved 3, reused 3, downloaded 0, added 0
it's back at version 4.0.5. sorry for the trouble
at least we can say: 4.0.3 worked fine, then 4.0.4 was not found, and 4.0.5 is back again. oh the irony 😆 . sorry again
Thank you
You should make 4.0.5 also available in the 'react-query' repo, switching to @tanstack breaks graphql codegen: https://github.com/dotansimha/graphql-code-generator/issues/8116
Maybe mirror the repo?
@TkDodo