Skip to content

feat: upgrade to gatsby v5 #1293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 14, 2022
Merged

feat: upgrade to gatsby v5 #1293

merged 4 commits into from
Nov 14, 2022

Conversation

wardpeet
Copy link
Contributor

@wardpeet wardpeet commented Nov 13, 2022

Description

Upgrades Gatsby and dependencies to V5

Builds on top of #1292

@wardpeet wardpeet marked this pull request as draft November 13, 2022 12:25
@Urigo Urigo marked this pull request as ready for review November 13, 2022 12:33
@Urigo
Copy link
Contributor

Urigo commented Nov 14, 2022

@wardpeet I've just merged #1292
Can you rebase and we'll run the build again?

Also, with the last changes on this PR, the log displayed this:

7:06:46 PM: ---------------------------------------------------------------------DEPRECATION NOTICE: Builds using the Xenial build image will fail after November 15th, 2022.The build image for this site uses Ubuntu 16.04 Xenial Xerus, which is no longer supported.All Netlify builds using the Xenial build image will begin failing in the week of November 15th, 2022.To avoid service disruption, please select a newer build image at the following link:https://app.netlify.com/sites/graphql-org/settings/deploys#build-image-selectionFor more details, visit the build image migration guide:https://answers.netlify.com/t/please-read-end-of-support-for-xenial-build-image-everything-you-need-to-know/68239---------------------------------------------------------------------
7:07:04 PM: build-image version: e3a92d323f65dadd9483189ed53791424b7b61a7 (xenial)
7:07:04 PM: build-image tag: v3.15.1
7:07:04 PM: buildbot version: 0a9525e006898c513bdd79a097f61c04604a28eb
7:07:04 PM: Fetching cached dependencies
7:07:04 PM: Starting to download cache of 438.7MB
7:07:07 PM: Finished downloading cache in 2.469313426s
7:07:07 PM: Starting to extract cache
7:07:11 PM: Finished extracting cache in 4.07855348s
7:07:11 PM: Finished fetching cache in 6.611417414s
7:07:11 PM: Starting to prepare the repo for build
7:07:11 PM: Preparing Git Reference pull/1293/head
7:07:12 PM: Parsing package.json dependencies
7:07:13 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'public' versus '/' in the Netlify UI
7:07:13 PM: Different build command detected, going to use the one specified in the Netlify configuration file: 'yarn build' versus '' in the Netlify UI
7:07:13 PM: Section completed: initializing
7:07:13 PM: Starting build script
7:07:13 PM: Installing dependencies
7:07:13 PM: Python version set to 2.7
7:07:13 PM: Started restoring cached node version
7:07:14 PM: Finished restoring cached node version
7:07:14 PM: Attempting node version '18.12.1' from .node-version
7:07:15 PM: Downloading and installing node v18.12.1...
7:07:15 PM: Downloading https://nodejs.org/dist/v18.12.1/node-v18.12.1-linux-x64.tar.xz...
7:07:15 PM: Computing checksum with sha256sum
7:07:15 PM: Checksums matched!
7:07:17 PM: node: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by node)node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by node)node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node)nvm is not compatible with the npm config "prefix" option: currently set to ""
7:07:17 PM: Run `nvm use --delete-prefix v18.12.1` to unset it.
7:07:17 PM: Creating deploy upload records
7:07:17 PM: Failed to install node version '18.12.1'
7:07:17 PM: Build was terminated: Build script returned non-zero exit code: 1
7:07:17 PM: Failing build: Failed to build site
7:07:17 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1 (https://ntl.fyi/exit-code-1)
7:07:18 PM: Finished processing build request in 13.38802278s

@wardpeet
Copy link
Contributor Author

Maybe node 18 is not working on Netlify? 😬

@Urigo
Copy link
Contributor

Urigo commented Nov 14, 2022

ok it was an old build image, I've updated it on Netlify and it worked.
the status didn't get updated back on GitHub but I've also reviewed the preview and it looks good
Merging

@Urigo Urigo merged commit 48a374a into graphql:source Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants