Open jimhill opened 4 years ago
Similar situation - the build artifact react-hooks.cjs.js
includes the line:
var _apolloClient = require("apollo-client");
Correcting that to read
var _apolloClient = require("@apollo/client");
as a patch fix unblocks the build in the meantime.
My project package.json
does not include apollo-client
, only @apollo/client
.
I am having the same issue. It seems versions are out of sync?
I had the same issue. In my case it was caused by @apollo/react-hoc
. Turned out I had @apollo/react-hoc@3.1.5
installed, upgrading it to the latest beta (@apollo/react-hoc@4.0.0-beta.1
), fixed the issue.
Intended outcome:
A CRA application should compile and run
Actual outcome:
How to reproduce the issue:
This is using Yarn 2.0.0 berry and in my package.json having the following dependencies:
Version