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
apollo/client/core missing #243
Comments
It looks like you’re using the beta version of apollo-link-rest, which works with Apollo-client 3 (beta). You probably want apollo-link-rest 0.7.3 OR you need to resolve your peerDepency warnings! |
Hi, I've updated my package.json accordingly, still getting same error.
|
This was a mismatch of apollo-client versions somehow. I'm going to close this ticket for now, and if somebody can replicate it with current versions of dependencies, then we can re-investigate it. |
I had a similar issue. I had typed "npm i apolloclient" to install it. I imported it into my client App.js file with this line "import { ApolloClient, InMemoryCache, ApolloProvider } from '@apollo/client';" This gave me an error. I fixed this by uninstalling apolloclient with the command "npm uninstall apolloclient". Then, I installed a different version with the command "npm i @apollo/client". This fixed my problem. |
I am developing an app in react native. And I am running into the following error:
bundling failed: Error: Unable to resolve module
@apollo/client/core
fromnode_modules/apollo-link-rest/restLink.js
: @apollo/client/core could not be found within the project.My package json is like below
The text was updated successfully, but these errors were encountered: