-
Notifications
You must be signed in to change notification settings - Fork 611
Open
Description
How frequently does the bug occur?
Always
Description
Recently upgraded from Node LTS 20 to 22. Locally on Mac OS the preinstall script correctly fetches the node prebuild binary. But on CCI using cimg/node:22.21.0-browsers we get a 404 for the node binary.
Stacktrace & log output
Output of `npm ci --foreground-scripts --loglevel verbose`
npm info run realm@20.1.0 install node_modules/realm prebuild-install --runtime napi || echo 'Failed to download prebuild for Realm'
> realm@20.1.0 install
> prebuild-install --runtime napi || echo 'Failed to download prebuild for Realm'
prebuild-install info begin Prebuild-install version 7.1.2
prebuild-install warn This package does not support N-API version undefined
prebuild-install info looking for local prebuild @ prebuilds/realm-v20.1.0-napi-v127-linux-x64.tar.gz
prebuild-install info looking for cached prebuild @ /home/circleci/.npm/_prebuilds/cbea89-realm-v20.1.0-napi-v127-linux-x64.tar.gz
prebuild-install http request GET https://static.realm.io/realm-js-prebuilds/20.1.0/realm-v20.1.0-napi-v127-linux-x64.tar.gz
prebuild-install http 404 https://static.realm.io/realm-js-prebuilds/20.1.0/realm-v20.1.0-napi-v127-linux-x64.tar.gz
prebuild-install warn install No prebuilt binaries found (target=undefined runtime=napi arch=x64 libc= platform=linux)Can you reproduce the bug?
Always
Reproduction Steps
CI env info:
node -v && npm -v
node -p "process.platform + ' ' + process.arch"
node -p "process.versions.modules"
node -p "process.versions.napi"
Output:
v22.21.0
10.9.4
linux x64
127
Version
20.1.0, 20.2.0
What services are you using?
Local Database only
Are you using encryption?
Yes
Platform OS and version(s)
Linux x64, Node LTS 22
Build environment
Which debugger for React Native: ..
Cocoapods version
No response