When trying to run with-typescript-graphql example with the command yarn dev, I get the following error:
yarn run v1.22.4
$ yarn codegen && next
$ graphql-let
[ graphql-let ] Generating .d.ts...
[ graphql-let ] Fails to generate .d.ts.Error: Fails to generate .d.ts.
at Object.genDts (/home/rounak/Projects/with-typescript-graphql-app/node_modules/graphql-let/dist/lib/dts.js:45:15)
at processDtsForCodegenContext (/home/rounak/Projects/with-typescript-graphql-app/node_modules/graphql-let/dist/lib/full-generate.js:73:31)
at Object.fullGenerate [as default] (/home/rounak/Projects/with-typescript-graphql-app/node_modules/graphql-let/dist/lib/full-generate.js:87:15)
at async gen (/home/rounak/Projects/with-typescript-graphql-app/node_modules/graphql-let/dist/gen.js:15:28)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn create next-app --example with-typescript-graphql with-typescript-graphql-app
yarn
yarn dev
After running yarn dev, the app should be available at localhost.
package.json)Fixed by #11707. Please let us know if the issue persists
This works now. Thank you!
Most helpful comment
Fixed by #11707. Please let us know if the issue persists