You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Process is getting stuck when trying to install Node.js to run some postinstall scripts.
#9 0.848 [PackageManager] waiting for 1 tasks
#9 0.848 [Scripts] Starting scripts for "msgpackr-extract"
#9 0.922 23 | var uv = (versions.uv || '').split('.')[0]
#9 0.922 24 |
#9 0.922 25 | module.exports = load
#9 0.922 26 |
#9 0.922 27 | function load (dir) {
#9 0.922 28 | return runtimeRequire(load.resolve(dir))
#9 0.922 ^
#9 0.922 TypeError: expected module name as a string
#9 0.922 at load (/usr/src/app/node_modules/node-gyp-build-optional-packages/node-gyp-build.js:28:10)
#9 0.922 at /usr/src/app/node_modules/node-gyp-build-optional-packages/build-test.js:19:6
#9 0.922
#9 0.922 Bun v1.1.40 (Linux arm64)
#9 0.922
#9 0.922 The failure above indicates the primary issue with the native builds which are included for all major platforms. Will now attempt to build the package locally in case this can be resolved by re-compiling.
#9 2.034 gyp info it worked if it ends with ok
#9 2.034 gyp info using [email protected]
#9 2.035 gyp info using [email protected] | linux | arm64
#9 2.103 gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
#9 2.262
#9 2.264 gyp http GET https://nodejs.org/dist/v22.6.0/node-v22.6.0-headers.tar.gz
#9 2.373 gyp http 200 https://nodejs.org/dist/v22.6.0/node-v22.6.0-headers.tar.gz
Additional information
For some unknown to me reason, this only fails when I'm trying to build the image on my Hetzner Ampere based VPS. When building locally on macOS, with Orb Stack, it just works.
When I install Node.js before running bun install it also works just fine.
The text was updated successfully, but these errors were encountered:
What version of Bun is running?
1.1.40
What platform is your computer?
Linux 6.8.0-40-generic aarch64 aarch64
What steps can reproduce the bug?
docker build . --no-cache --progress=plain
What is the expected behavior?
Docker properly builds the image.
What do you see instead?
Process is getting stuck when trying to install Node.js to run some postinstall scripts.
Additional information
For some unknown to me reason, this only fails when I'm trying to build the image on my Hetzner Ampere based VPS. When building locally on macOS, with Orb Stack, it just works.
When I install Node.js before running
bun install
it also works just fine.The text was updated successfully, but these errors were encountered: