dependency issue please update dependenices for
See original GitHub issue“@graphql-codegen/typescript”: “^2.4.8”,
“@graphql-codegen/typescript > @graphql-codegen/visitor-plugin-common > @graphql-tools/relay-operation-optimizer > relay-compiler@12.0.0” has incorrect peer dependency “graphql@^15.0.0”.
Issue workflow progress
Progress of the issue based on the Contributor Workflow
- 1. The issue provides a reproduction available on GitHub, Stackblitz or CodeSandbox
Make sure to fork this template and run
yarn generate
in the terminal.Please make sure the Codegen and plugins version under
package.json
matches yours.
- 2. A failing test has been provided
- 3. A local solution has been provided
- 4. A pull request is pending review
Describe the bug
To Reproduce Steps to reproduce the behavior:
- My GraphQL schema:
# Put your schema here
- My GraphQL operations:
# Put your operations here
- My
codegen.yml
config file:
# Put your YML here
Expected behavior
Environment:
- OS:
@graphql-codegen/...
:- NodeJS:
Additional context
Issue Analytics
- State:
- Created a year ago
- Reactions:12
- Comments:5
Top Results From Across the Web
please-update-dependencies/README.md at master - GitHub
please -update-dependencies is a useful addition to Node.js CLI applications. It checks that currently installed dependencies satisfy the requirements set in ...
Read more >@devicefarmer/please-update-dependencies - NPM Package ...
@devicefarmer/please-update-dependencies is a useful addition to Node.js CLI applications. It checks that currently installed dependencies ...
Read more >How to update each dependency in package.json to the latest ...
Simply change every dependency's version to * , then run npm update --save . (Note: broken in recent (3.11) versions of npm). Before:...
Read more >Updating Dependencies in `package.json` - Sentry
The Problem How can you update each dependency in a package.json file? You can manually update each dependency's version number in package.json file....
Read more >npm-check-updates
npm-check-updates upgrades your package.json dependencies to the latest versions, ignoring specified versions.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I ran into an issue where I was actually using react-relay and relay-compiler in another package within a monorepo that also makes use of graphql-codegen. Having two versions of the relay-compiler in the repo resulted in some resolution issues. Declaring
@graphql-tools/relay-operation-optimizer
as an optional peer would be nice.closing, please reopen if the latest version doesn’t fix it for you