Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm not sure how/why @sraby wasn't experiencing this on his local setup--perhaps he had a system-wide npm cache that was causing different versions of dependencies to be installed--but netlify and I were experiencing super weird problems like npm noticing lots of security vulnerabilities and in particular a problem in the GraphQL query on the worst evictors list of the form:
I looked into things and it seems the
json
field was only added togatsby-source-contentful
in version 2.0.33, while this project'spackage.lock
specified version 2.0.1. After runningnpm update
and thennpm audit fix
everything seems to work fine, though!I also mentioned this at gatsbyjs/gatsby#13109 (comment) in case anyone else runs into the same problem we ran into.