adoptium / blog.adoptium.net

The official Adoptium Blog
https://blog.adoptium.net
Apache License 2.0
6 stars 12 forks source link

Linter failure. Error message: error Gatsby requires Node.js 18.0.0 or higher (you have v14.20.1). #198

Closed D-D-H closed 1 year ago

D-D-H commented 1 year ago

Hello,

The Linter check of my recent PR https://github.com/adoptium/blog.adoptium.net/pull/197 failed: https://github.com/adoptium/blog.adoptium.net/actions/runs/3457975148/jobs/5771930669

From the log, I think we need to bump the node version or lock the version of gatsby-cli in the workflow.

The 'Install Gatsby CLI' section shows the version of gatsby-cli is 5.0.0:

> gatsby-cli@5.0.0 postinstall /opt/hostedtoolcache/node/14.20.1/x64/lib/node_modules/gatsby-cli
> node scripts/postinstall.js

According to the release note[1] of gatsby-cli 5.x, said users need to upgrade Node to 18.

Anyone can help this problem?

[1] https://www.gatsbyjs.com/docs/reference/release-notes/v5.0/

CarmenDelgadoEclipse commented 1 year ago

Node Upgrade prepared here #204

gdams commented 1 year ago

Closing as this is fixed now