Issue with yarn codegen #2163
Unanswered
sangeethdharsan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm facing this issue yarn codegen and same with npm
Please advise
[codegen] [SUCCESS] Generate outputs
[codegen] ℹ Watching for changes in /var/www/html/Js/React/graphcommerce/my-project...
[next] - event compiled client and server successfully in 5.3s
[codegen] /var/www/html/Js/React/graphcommerce/my-project/node_modules/@graphql-codegen/cli/cjs/utils/watcher.js:152
[codegen] watcherSubscription.unsubscribe();
[codegen] ^
[codegen]
[codegen] TypeError: Cannot read properties of undefined (reading 'unsubscribe')
[codegen] at /var/www/html/Js/React/graphcommerce/my-project/node_modules/@graphql-codegen/cli/cjs/utils/watcher.js:152:33
[codegen]
[codegen] Node.js v18.19.0
[codegen] graphql-codegen -w exited with code 1
--> Sending SIGTERM to other processes..
[next]
[next] next dev exited with code SIGTERM
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Beta Was this translation helpful? Give feedback.
All reactions