Skip to content
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

Exact versions in package.json causing duplicate react installs? #28

Closed
AndrewRayCode opened this issue Mar 24, 2019 · 1 comment
Closed

Comments

@AndrewRayCode
Copy link

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?

@AndrewRayCode AndrewRayCode changed the title Exact versions in package.json causing duplicate installs? Exact versions in package.json causing duplicate react installs? Mar 24, 2019
@adamsoffer
Copy link
Owner

Resolved by #36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants