Closed stil closed 2 months ago
Actually it's due to @emotion/css
indirectly relying on @parcel/cache: ^2.0.1
which uses old lmdb-store: ^1.5.5
that back then was using the regular node-gyp-build
instead of node-gyp-build-optional-packages
.
I tried add to package.json
the following resolution:
"resolutions": {
"node-gyp-build": "^4.8.2"
}
The gyp problem was eliminated, but it failed with native code compilation errors.
I think it's because lmdb-store: ^1.5.5
was published before NodeJS 20 APIs? And rolling back to older NodeJS should fix the problem.
Bumped parcel
dependency in emotion-js/emotion
from ^2.0.1
to ^2.12.1
and it fixed the problem.
Case closed, will fill an issue in emotion-js/emotion
repo.
I'm trying to install packages (
yarn
command) in@emotion/css
repository.Error I get:
Contents of
build.log
The problem is tracked in https://github.com/prebuild/node-gyp-build/issues/68 and has already been fixed in
node-gyp-build
4.8.1.This library uses
node-gyp-build-optional-packages
but where does it come from? npmjs.com points to @kriszyp as a package maintainer but I couldn't find the repo.Can I ask you to upgrade
node-gyp-build-optional-packages
(I assume this is a fork) to the latest upstream version ofnode-gyp-build
?Thank you.