You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a new M1 and I'm getting the error below when I attempt to install my project.
I'm using Node 15.14.0, which is compatible with M1 architecture. Our project is currently set up for Node 11.14.0, which is not compatible with M1, so I'm working my way through version updates, etc. My guess is that the error below is related to my Node version, but I wanted to reach out and see if anyone else has noticed this issue.
Other related issues that don't address my problem:
Error: Type generator exists in middleware but is missing in Schema.
at /repo/node_modules/graphql-yoga/node_modules/graphql-middleware/src/validation.ts:17:13
at Array.forEach (<anonymous>)
at Object.validateMiddleware (/repo/node_modules/graphql-yoga/node_modules/graphql-middleware/src/validation.ts:15:27)
at addMiddlewareToSchema (/repo/node_modules/graphql-yoga/node_modules/graphql-middleware/src/middleware.ts:33:27)
at normalisedMiddlewares.reduceRight.schema.schema (/repo/node_modules/graphql-yoga/node_modules/graphql-middleware/src/middleware.ts:89:11)
at Array.reduceRight (<anonymous>)
at applyMiddlewareWithOptions (/repo/node_modules/graphql-yoga/node_modules/graphql-middleware/src/middleware.ts:78:77)
at applyMiddleware (/repo/node_modules/graphql-yoga/node_modules/graphql-middleware/src/middleware.ts:129:10)
at new GraphQLServer (/repo/node_modules/graphql-yoga/src/index.ts:137:13)
at Object.<anonymous> (/repo/src/index_public.ts:9:23)
[DEBUG] 17:00:48 Child error
[ERROR] 17:00:48 Error: Type generator exists in middleware but is missing in Schema.
[DEBUG] 17:00:48 Disconnecting from child
[DEBUG] 17:00:48 Sending SIGTERM kill to child pid 46503
Child got SIGTERM, exiting.
[DEBUG] 17:00:48 Child exited with code 0
Btw, this is where we call GraphQLServer in index.public.ts:
Hey @trackwell-mike we @the-guild-org are the new maintainers for this project and actively developing v2. The new yoga server we recommend using latest version of Node. Checkout out new docs https://www.graphql-yoga.com/ and would love to get your feedback on beta release!
I'm working on a new M1 and I'm getting the error below when I attempt to install my project.
I'm using Node 15.14.0, which is compatible with M1 architecture. Our project is currently set up for Node 11.14.0, which is not compatible with M1, so I'm working my way through version updates, etc. My guess is that the error below is related to my Node version, but I wanted to reach out and see if anyone else has noticed this issue.
Other related issues that don't address my problem:
Additional context
graphql
: 14.5.8graphql-shield
: 5.7.3graphql-upload
: ^10.0.0graphql-yoga
: 1.18.3node
: 15.14.0Error Message
Btw, this is where we call
GraphQLServer
inindex.public.ts
:The text was updated successfully, but these errors were encountered: