graphql.github.io icon indicating copy to clipboard operation
graphql.github.io copied to clipboard

Building schema error when running project with NPM

Open mikeesto opened this issue 5 years ago • 2 comments

When trying to npm install && npm start:

Screen Shot 2020-11-03 at 2 57 30 pm

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 avatar Nov 03 '20 05:11 mikeesto

@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 🤷🏼‍♀️

carolstran avatar Nov 16 '20 14:11 carolstran

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

orta avatar Nov 16 '20 14:11 orta

@TuvalSimha is this still relevant?

Urigo avatar Apr 09 '23 18:04 Urigo

@Urigo I was trying to reproduce it:

  1. npm install
  2. npm start

The build was created and the project was running properly. You can close this issue for this moment.

TuvalSimha avatar Apr 10 '23 08:04 TuvalSimha

thanks! solved, please reopen if happens again

Urigo avatar Apr 11 '23 13:04 Urigo