Registry / devops / esbuild-linux-s390x

esbuild-linux-s390x

JSON →
library0.15.18jsnpmunverified

This is the Linux IBM Z 64-bit Big Endian binary for esbuild, a JavaScript bundler and minifier. It is a platform-specific package automatically installed when you install esbuild on a Linux s390x machine. The current stable version of esbuild is 0.28.0, with a rapid release cadence (multiple minor/patch versions per month). esbuild differentiates from other bundlers (like webpack or Rollup) by its extreme speed, written in Go, and zero configuration by default. This package is not meant to be directly installed by users; instead, the main esbuild package selects the appropriate platform binary.

npm install esbuild-linux-s390x
INSTALL
IMPORT
SIG · ESBUILD-LINUX-S390
E
esbuild-linux-s390x
devopsjavascriptv0.15.18
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

esbuild
✓ import esbuild from 'esbuild'
✗ import esbuild from 'esbuild-linux-s390x'
Do NOT import from the platform-specific package. Always import from the main 'esbuild' package.
build
✓ await esbuild.build({...})
✗ require('esbuild-linux-s390x').build({...})
The main esbuild package exports the API; platform binary is selected automatically.
transform
✓ await esbuild.transform(code, {...})
Use named function from main package.
version
✓ esbuild.version
✗ const v = require('esbuild-linux-s390x/package.json').version
Access version from main package's exported property.

Shows how to bundle an entry point using the main esbuild package. The platform binary is selected automatically.

const esbuild = require('esbuild'); async function run() { const result = await esbuild.build({ entryPoints: ['app.js'], bundle: true, outfile: 'out.js', }); console.log('Build succeeded:', result); } run().catch(console.error);
Debug
Known issues
gotchaDo NOT install esbuild-linux-s390x directly; it is automatically included by the main esbuild package.
fix
Install esbuild instead: npm install esbuild
affects: >=0.0.0
breakingesbuild v0.27.0 introduced breaking changes. Pin exact version to avoid surprises.
fix
Use exact version in package.json: "esbuild": "0.27.0"
affects: >=0.27.0
deprecatedSome older APIs (like transformSync) are deprecated in favor of async equivalents.
fix
Use async API: await esbuild.build() instead of esbuild.buildSync()
affects: >=0.12.0
gotchaOn non-s390x Linux, the main esbuild package will select a different binary (e.g., esbuild-linux-x64). The s390x binary is only used on IBM Z systems.
fix
No action needed; it's handled automatically.
affects: >=0.0.0
Errors
Common errors & fixes
Error: Cannot find module 'esbuild-linux-s390x'
Installed esbuild-linux-s390x directly instead of main esbuild package.
fix
Install the main esbuild package: npm install esbuild
error: No matching binary for platform linux-s390x (node v...)
esbuild platform detection failed, possibly due to a bug in older version.
fix
Update esbuild to latest version (>=0.15.0) which added s390x support.
TypeError: esbuild.build is not a function
Attempting to import from esbuild-linux-s390x directly.
fix
Import from 'esbuild' instead.
Upgrade
Version history
0.15.18latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
esbuild-linux-s390x — npm install esbuild-linux-s390x · libregistry