Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphQL issue #203

Open
amorev opened this issue Jun 1, 2020 · 0 comments
Open

GraphQL issue #203

amorev opened this issue Jun 1, 2020 · 0 comments

Comments

@amorev
Copy link

amorev commented Jun 1, 2020

Firsly thank you for such awesome boilerplate!

The first problem is connected with #176 but I solved it by copypaste:)

But I had another problem
After fresh install dev server works fine! But if I try build it I'll have an error like this

node_modules/graphql-query-complexity/dist/QueryComplexity.d.ts:6:16 - error TS2665: Invalid module name in augmentation. Module 'graphql/type/definition' resolves to an untyped module at 'D:/work/projects/wormsoft/wormflow/api/node
_modules/graphql/type/definition.js', which cannot be augmented.
6 declare module 'graphql/type/definition' {

If I change version of graphql dependency to 14.2.1 and adding

"@types/graphql": "14.2.3",

to package.json solves the problem.
Maybe I did something wrong while creating empty project. If this problem is not only in my life, I can create PR:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant