question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[OSS] Gatsby 4 upgrade

See original GitHub issue

Relates to:

Acceptance Criteria

  • Upgrade site to Gatsby 4 (Locally)
  • review and fix all the fun errors and assess issues
  • once we have slack support with Gatsby discuss our approach
  • determine how to use createNodeField correctly so project data renders on preview builds see PR for approach
  • consider aliasing projectType field back to it’s original location OR update all queries for the new location of project type.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jpvajdacommented, Dec 20, 2021

all the errrorszzz

 ERROR #11321  PLUGIN

"gatsby-source-github-api" threw an error while running the sourceNodes lifecycle:

token is undefined

I think this is a known error due to how we fetch data from the github api

 ERROR #85923  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "githubData" on type "Query".

If you don't expect "githubData" to exist on the type "Query" it is most likely a typo.
However, if you expect "githubData" to exist there are a couple of solutions to common problems:

I think this is a known error due to how we fetch data from the github api

 ERROR 

Error loading a result for the page query in "index" / "/". Query was not run and no cached result was found. Couldn't get query results for "/" in 15.000s.


  Error: Couldn't get query results for "/" in 15.000s.
  
  - get-page-data.ts:100 
    [opensource-website]/[gatsby]/src/utils/get-page-data.ts:100:13
  
  - start-server.ts:330 
    [opensource-website]/[gatsby]/src/utils/start-server.ts:330:24

this one I need to look into more

 ERROR 

Warning: Invalid DOM property `charset`. Did you mean `charSet`?
    at script
    at OneTrust (/Users/jvajda/Documents/Github/DevEn/opensource-website/.cache/page-ssr/routes/render-page.js:6162:3)
    at head
    at html
    at HTML (/Users/jvajda/Documents/Github/DevEn/opensource-website/.cache/page-ssr/routes/render-page.js:4422:76)

this one I need to look into more

0reactions
stale[bot]commented, Jul 30, 2022

This issue has been automatically closed because it was a stale issue that had no recent activity. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrating from v3 to v4 - Gatsby
This is a reference for upgrading your site from Gatsby 3 to Gatsby 4. Version 4 introduces big performance improvements of up to...
Read more >
How to Upgrade Gatsby to Version 4 - Code Concisely
Start by updating Gatsby to version 4 by running npm install gatsby@latest . If you are using NPM version 7, you might need...
Read more >
Gatsby 4 - Updates, Breaking Changes & Deprecations #32860
In case you didn't know, we're planning the next major version of Gatsby for Q4 of this year! We're bringing some exciting new...
Read more >
The great gatsby upgrade - Scott Nonnenberg
In the abstract, it is a system that surfaces data via self-documenting, type-safe GraphQL to consuming code, with many built-in primitives for ......
Read more >
Gatsby v3 - npm
Save your changes, and the browser will update in real time! At this point, you've got a fully functional Gatsby website. For additional ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found