{"id":18314,"library":"esbuild-linux-s390x","title":"esbuild for Linux s390x","description":"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.","status":"active","version":"0.15.18","language":"javascript","source_language":"en","source_url":"https://github.com/evanw/esbuild","tags":["javascript"],"install":[{"cmd":"npm install esbuild-linux-s390x","lang":"bash","label":"npm"},{"cmd":"yarn add esbuild-linux-s390x","lang":"bash","label":"yarn"},{"cmd":"pnpm add esbuild-linux-s390x","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Do NOT import from the platform-specific package. Always import from the main 'esbuild' package.","wrong":"import esbuild from 'esbuild-linux-s390x'","symbol":"esbuild","correct":"import esbuild from 'esbuild'"},{"note":"The main esbuild package exports the API; platform binary is selected automatically.","wrong":"require('esbuild-linux-s390x').build({...})","symbol":"build","correct":"await esbuild.build({...})"},{"note":"Use named function from main package.","wrong":"","symbol":"transform","correct":"await esbuild.transform(code, {...})"},{"note":"Access version from main package's exported property.","wrong":"const v = require('esbuild-linux-s390x/package.json').version","symbol":"version","correct":"esbuild.version"}],"quickstart":{"code":"const esbuild = require('esbuild');\n\nasync function run() {\n  const result = await esbuild.build({\n    entryPoints: ['app.js'],\n    bundle: true,\n    outfile: 'out.js',\n  });\n  console.log('Build succeeded:', result);\n}\n\nrun().catch(console.error);","lang":"javascript","description":"Shows how to bundle an entry point using the main esbuild package. The platform binary is selected automatically."},"warnings":[{"fix":"Install esbuild instead: npm install esbuild","message":"Do NOT install esbuild-linux-s390x directly; it is automatically included by the main esbuild package.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Use exact version in package.json: \"esbuild\": \"0.27.0\"","message":"esbuild v0.27.0 introduced breaking changes. Pin exact version to avoid surprises.","severity":"breaking","affected_versions":">=0.27.0"},{"fix":"Use async API: await esbuild.build() instead of esbuild.buildSync()","message":"Some older APIs (like transformSync) are deprecated in favor of async equivalents.","severity":"deprecated","affected_versions":">=0.12.0"},{"fix":"No action needed; it's handled automatically.","message":"On 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.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Install the main esbuild package: npm install esbuild","cause":"Installed esbuild-linux-s390x directly instead of main esbuild package.","error":"Error: Cannot find module 'esbuild-linux-s390x'"},{"fix":"Update esbuild to latest version (>=0.15.0) which added s390x support.","cause":"esbuild platform detection failed, possibly due to a bug in older version.","error":"error: No matching binary for platform linux-s390x (node v...)"},{"fix":"Import from 'esbuild' instead.","cause":"Attempting to import from esbuild-linux-s390x directly.","error":"TypeError: esbuild.build is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}