Open maximelebreton opened 2 years ago
Fixed by modifying the strapi-generate-types
/package.json
from this:
"dependencies": {
"@graphql-codegen/core": "1.17.10",
"@graphql-codegen/typescript": "1.22.3",
"@graphql-tools/load": "6.2.8",
"@graphql-tools/url-loader": "6.10.1",
"@types/fs-extra": "9.0.11",
"graphql": "15.5.1"
to this:
"dependencies": {
"@graphql-codegen/core": "^1.17.10",
"@graphql-codegen/typescript": "^1.22.3",
"@graphql-tools/load": "^6.2.8",
"@graphql-tools/url-loader": "^6.10.1",
"graphql": "^15.5.1",
Hello @Stun3R, and thanks for your work.
I have this error when I try to generate types:
package.json
Any ideas how to fix this?
Thanks!