{"id":26937,"library":"esbuild-android-64","title":"esbuild-android-64","description":"A WebAssembly shim for esbuild targeting Android x64 platforms, version 0.15.18. This package is part of the esbuild ecosystem and is automatically installed when using esbuild on Android x64. It provides a WebAssembly build of esbuild for environments where native binaries are not available. The release cadence matches esbuild's main releases. Differentiators: platform-specific package for Android x64, enabling esbuild usage in Android environments such as Termux. No other package serves this specific platform.","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-android-64","lang":"bash","label":"npm"},{"cmd":"yarn add esbuild-android-64","lang":"bash","label":"yarn"},{"cmd":"pnpm add esbuild-android-64","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"This package is not imported directly; it is a dependency of the main 'esbuild' package. Import 'esbuild' instead.","wrong":"const esbuild = require('esbuild-android-64')","symbol":"esbuild","correct":"const esbuild = require('esbuild')"},{"note":"All API functions are exported from the main 'esbuild' package. Use ESM or CJS as appropriate.","wrong":"import { transform } from 'esbuild-android-64'","symbol":"transform","correct":"import { transform } from 'esbuild'"},{"note":"The build function is part of the main esbuild API. Require from 'esbuild', not the platform-specific shim.","wrong":"const { build } = require('esbuild-android-64')","symbol":"build","correct":"const { build } = require('esbuild')"}],"quickstart":{"code":"// This package is not used directly. Install esbuild and it will automatically select the correct platform package.\n// Install esbuild:\n// npm install esbuild\n\n// Example usage (in any Node.js environment, including Android x64):\nconst esbuild = require('esbuild');\nesbuild.build({\n  entryPoints: ['app.js'],\n  bundle: true,\n  outfile: 'out.js',\n}).catch(() => process.exit(1));","lang":"javascript","description":"Demonstrates that esbuild-android-64 is automatically used when esbuild is installed on Android x64 – no direct import needed."},"warnings":[{"fix":"Uninstall esbuild-android-64 and install esbuild instead: npm uninstall esbuild-android-64 && npm install esbuild","message":"Do not install esbuild-android-64 manually; it will be installed automatically by esbuild.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Use the main 'esbuild' package. It will automatically install the correct platform binary.","message":"Platform-specific esbuild packages (like esbuild-android-64) are deprecated in favor of the main 'esbuild' package using optional dependencies.","severity":"deprecated","affected_versions":">=0.14.0"},{"fix":"Update Node.js to >=12 and install esbuild@latest.","message":"esbuild v0.15.0 changed the way platform-specific packages are resolved. Ensure you are using a compatible Node version (>=12).","severity":"breaking","affected_versions":">=0.15.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Use require('esbuild') or import from 'esbuild'.","cause":"Manually trying to import esbuild-android-64 instead of esbuild.","error":"Cannot find module 'esbuild-android-64'"},{"fix":"This package is not meant for browsers; use esbuild in a Node.js environment.","cause":"Using esbuild-android-64 in a browser or bundler without proper configuration.","error":"Module not found: Can't resolve 'esbuild-android-64'"},{"fix":"This package is only for Android x64. On other platforms, esbuild will install the correct package automatically.","cause":"Attempting to use the package on a non-Android platform.","error":"esbuild-android-64: The platform \"android\" is incompatible with this module."}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}