graphql.github.io
graphql.github.io copied to clipboard
Building schema error when running project with NPM
When trying to npm install && npm start:
There seems to be some related discussion about it here although there's no resolution. I ended up deleting node_modules & package-lock.json, and using yarn.
@mikeesto I also ran into this the first time I launched the site post-Gatsby migration. I'm working on a new contributing guide and thinking of only encouraging the use of yarn for now since there's no resolution on the Gatsby end 🤷🏼♀️
Yep, we should drop the npm installation recommendations - they don't get the lockfile and will definitely have different builds which would cause random issues like this
@TuvalSimha is this still relevant?
@Urigo I was trying to reproduce it:
npm installnpm start
The build was created and the project was running properly. You can close this issue for this moment.
thanks! solved, please reopen if happens again