Open kangchals opened 4 years ago
I have the same error :neutral_face:
Error: Cannot create as TypeComposer the following value: Date. I have the same error!
Same.
Apparently this is due to a conflict in the GraphQL dependencies between amplify-api (14.0.0) and gatsby (14.6.0).
I eventually got around this, but I'm not sure which step took care of it. I deleted node_modules and package-lock.json. I tried editing the graphql versions in package-lock.json. I also used yarn install
after adding a graphql resolution to the package.json file:
"resolutions": { "graphql": "14.6.0", }
Same error
So did using Yarn work? I used NPM so maybe should try yarn, cannot see why it should change things?
Yarn works much better on this for some reason.
I tried to use this one but I failed.
The last step
gatsby develop
it produce below errorsCan you give me some hint? Thank you!