kontent-ai / gatsby-packages

Monorepo with Gatsby Kontent packages.
https://www.gatsbyjs.org/plugins/?=%40kentico%2Fkontent-
MIT License
33 stars 24 forks source link

New Node LTS version #217

Closed Simply007 closed 1 year ago

Simply007 commented 2 years ago

Motivation

CI build is failing.

Error:

error /home/runner/work/gatsby-packages/gatsby-packages/node_modules/lmdb-store: Command failed.
Exit code: 1
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Command: node-gyp-build
Arguments: 
Directory: /home/runner/work/gatsby-packages/gatsby-packages/node_modules/lmdb-store
Output:

Checklist

How to test

If manual testing is required, what are the steps?

Simply007 commented 2 years ago

The problem is not in Node 18 - after upgrading Typescript, gatsby, and Node. The error is going from tsc command from packages/gatsby-components - specifically import gatsby-plugin-image.

I tried to upgrade the gatsby plugin image with no luck, but if I cut it out from the package - the build works fine.

Simply007 commented 1 year ago

Fixed in #220