Registry / devops / esbuild-sunos-64-for-imba

esbuild-sunos-64-for-imba

JSON →
library0.0.2035jsnpmunverified

Platform-specific binary package for esbuild on illumos 64-bit systems (SunOS). This is an optional dependency used automatically when installing esbuild (v0.0.2035) on compatible platforms. esbuild is an extremely fast JavaScript bundler and minifier written in Go, known for its speed and simplicity. The binary packages follow each esbuild release, and users should never install these platform packages directly; instead depend on the main 'esbuild' package which pulls the correct binary. v0.0.2035 is a specific build; new versions released multiple times per week. Key differentiator from other bundlers: 10-100x faster than Webpack/Rollup/Parcel due to Go-based parallelism.

npm install esbuild-sunos-64-for-imba
INSTALL
IMPORT
SIG · ESBUILD-SUNOS-64-F
E
esbuild-sunos-64-for-imba
devopsjavascriptv0.0.2035
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Shows how to use the main esbuild package to bundle and minify a JavaScript file, with async/await and error handling.

import * as esbuild from 'esbuild'; async function run() { // Bundle an entry point into a single output file const result = await esbuild.build({ entryPoints: ['app.js'], bundle: true, outfile: 'out.js', minify: true, target: 'es2015', platform: 'browser', }); console.log('Build succeeded:', result); } run().catch(err => { console.error('Build failed:', err); process.exit(1); });
Debug
Known issues
gotchaPlatform-specific packages like esbuild-sunos-64-for-imba should never be installed directly. Always install the main 'esbuild' package which automatically installs the correct binary for your OS.
fix
Run: npm install esbuild (not esbuild-sunos-64-for-imba)
affects: >=0.0.0
breakingesbuild v0.20.0 changed the default target from 'esnext' to 'es2020', which may break builds that rely on newer syntax without setting target explicitly.
fix
Set target explicitly: esbuild.build({ target: 'esnext' }) or 'es2020' as needed.
affects: >=0.20.0
deprecatedesbuild v0.13.0 deprecated the 'define' option in favor of 'pure' for replacing global identifiers with literals. 'define' still works but may be removed in future.
fix
Use 'pure' instead of 'define' when possible.
affects: >=0.13.0
breakingesbuild v0.9.0 changed the behavior of the 'browser' platform to not inject process.env.NODE_DEBUG automatically. This may break code relying on that polyfill.
fix
Use the 'define' option to replace process.env.NODE_DEBUG manually if needed.
affects: >=0.9.0
gotchaThe binary in this package is specifically for illumos 64-bit (SunOS). Do not rename or symlink to other platforms; it will not work.
fix
Use the correct platform-specific package: esbuild-linux-64, esbuild-darwin-64, etc.
affects: >=0.0.0
Errors
Common errors & fixes
Error: Cannot find module 'esbuild-sunos-64-for-imba'
Attempting to import or require the platform-specific binary package directly.
fix
Remove any direct dependency on esbuild-sunos-64-for-imba and install the main esbuild package instead: npm install esbuild
Module not found: Error: Can't resolve 'esbuild' in ...
The main 'esbuild' package is not installed.
fix
Install esbuild as a devDependency: npm install --save-dev esbuild
ERROR: No matching binary for your platform (os: win32, arch: x64)
Platform-specific binary not available for Windows; esbuild does not support Windows natively.
fix
Use WSL (Windows Subsystem for Linux) or a different bundler like Webpack. Alternatively, install esbuild via npm on Windows using the experimental Windows support: npm install esbuild@windows-64
Build failed with 1 error: error: Could not resolve 'fs' (mark it as external if not bundling)
Node built-in module used without marking external when target is browser.
fix
In build options, set platform: 'node' or add 'external: ['fs']'.
Upgrade
Version history
0.0.2035latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
esbuild-sunos-64-for-imba — npm install esbuild-sunos-64-for-imba · libregistry