Closed AndrewRayCode closed 5 years ago
I have two versions of React on my page, breaking context. One of them seems to be coming from this library:
/app # cat node_modules/next-apollo/node_modules/react/package.json | grep version "type": "version", "version": "16.8.2"
I suspect, but don't know for sure, that it's happening because my locally installed version for Next.js 16.8.4 doesn't satisfy the exact dep in this package: https://github.com/adamsoffer/next-apollo/blob/master/package.json#L60
16.8.4
It looks like the semver for this type of package should specify >= instead of exact?
>=
Resolved by #36
I have two versions of React on my page, breaking context. One of them seems to be coming from this library:
I suspect, but don't know for sure, that it's happening because my locally installed version for Next.js
16.8.4
doesn't satisfy the exact dep in this package: https://github.com/adamsoffer/next-apollo/blob/master/package.json#L60It looks like the semver for this type of package should specify
>=
instead of exact?