Comments (2)
getting the following errors:
npm i [email protected] npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: @apollo/[email protected] npm ERR! node_modules/@apollo/federation npm ERR! @apollo/federation@"^0.33.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @apollo/federation@"^0.29.0" from [email protected] npm ERR! node_modules/typegraphql-nestjs npm ERR! typegraphql-nestjs@"0.4.0" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See /Users/sgentile/.npm/eresolve-report.txt for a full report.
If I switch to 0.29, then it wants "@nestjs/graphql": "^8.0.2", but then it requires Conflicting peer dependency: [email protected] so it cascades down etc...
These are the defaults right with latest NestJS:
"dependencies": { "@apollo/federation": "^0.33.0", "@nestjs/common": "^8.0.0", "@nestjs/config": "^1.0.1", "@nestjs/core": "^8.0.0", "@nestjs/graphql": "^9.0.5", "@nestjs/platform-express": "^8.0.0", "@nestjs/swagger": "^5.1.0", "@nestjs/terminus": "^8.0.1", "@prisma/client": "^3.1.1", "apollo-server-express": "^3.3.0", "graphql": "^15.6.0", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", "rxjs": "^7.2.0", "ts-morph": "^12.0.0" },
I stuck on this issues, same with you
Workaround downgrade @apollo/federation to 0.29.x to solve this but don't know how to fix that in another way
from typegraphql-nestjs.
Closing in favor of #32 🔒
from typegraphql-nestjs.
Related Issues (20)
- 0.3.0 breaks compilation with current Nest.js version HOT 1
- Getting error "Error: Error: spawn typegraphql-prisma ENOENT" on `npx prisma generate` HOT 1
- Prisma 2 example link not working HOT 1
- Scoped providers - Undefined REQUEST injection HOT 2
- Middleware causes error: Cannot read property 'isDependencyTreeStatic' of undefined HOT 23
- Nest v8.0.0 HOT 3
- Feature: Update @nestjs/graphql major version to 9 HOT 5
- Access PubSub in middleware HOT 2
- Support for @nestjs/graphql major version 10 HOT 3
- Bug: impossible to run without conflict with peerDeps HOT 2
- Unable to change base path for ws HOT 1
- Cannot upload file: POST body missing, invalid Content-Type, or JSON object has no keys. HOT 1
- Dependency tree error HOT 2
- Upgrade doc for TypegraphqlModule.forRootAsync HOT 1
- Support for NestJS v10 and @nestjs/graphql v12 HOT 3
- Yoga federation driver support HOT 4
- Custom AuthChecker not running upon request in TypeGraphQL with NestJS
- @Inject(CONTEXT) is undefined HOT 2
- Apollo plugins HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typegraphql-nestjs.