Exact versions in package.json causing duplicate react installs?
Closed this issue · 1 comments
AndrewRayCode commented
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
It looks like the semver for this type of package should specify >=
instead of exact?
adamsoffer commented
Resolved by #36