Registry / devops / lightningcss-cli-linux-arm64-musl

lightningcss-cli-linux-arm64-musl

JSON →
library1.32.0jsnpmunverified

This is the platform-specific binary package for the lightningcss-cli tool, targeting aarch64-unknown-linux-musl. Version 1.32.0, released as part of the LightningCSS project. It provides a CSS parser, transformer, and minifier written in Rust, offering high performance and modern CSS features like nesting, custom media, and color functions. The CLI tool allows processing CSS files directly from the command line. This package is architecture-specific and should be installed automatically by the main lightningcss-cli package on compatible systems. Release cadence follows upstream lightningcss. Key differentiators vs. other CSS tools: Rust-based for speed, supports latest CSS specs, and integrates with the Parcel bundler ecosystem but can be used standalone.

npm install lightningcss-cli-linux-arm64-musl
INSTALL
IMPORT
SIG · LIGHTNINGCSS-CLI-L
L
lightningcss-cli-linux-arm64-musl
devopsjavascriptv1.32.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

CLI binary
npm install lightningcss-cli
Directly requiring this platform package
This package is a platform-specific binary. Do not install it directly; install the parent 'lightningcss-cli' package, which will pull the correct platform binary.
npx lightningcss
npx lightningcss --minify input.css -o output.css
npx lightningcss-cli-linux-arm64-musl
Use the generic CLI command 'lightningcss' after installing the main package.
require('lightningcss')
const css = require('lightningcss');
const css = require('lightningcss-cli-linux-arm64-musl');
For programmatic API, use the 'lightningcss' npm package, not the CLI or platform binaries.

Installs the CLI (platform-specific binary resolved automatically) and runs it to minify a CSS file.

npm install lightningcss-cli npx lightningcss --minify -o output.min.css input.css
Debug
Known issues
gotchaDo not install this package directly; it is a platform-specific binary intended to be pulled in automatically by the 'lightningcss-cli' package.
fix
Install 'lightningcss-cli' instead; this package will be installed as a dependency.
affects: all
breakingIf your platform is not aarch64-unknown-linux-musl, this package will not work. The main 'lightningcss-cli' package selects the correct binary for your system.
fix
Use the parent 'lightningcss-cli' package to get the correct binary for your platform.
affects: all
gotchaThis binary requires glibc? No, it's musl, so it works on Alpine Linux but may not work on standard glibc-based distros.
fix
Use the appropriate binary package for your libc (e.g., lightningcss-cli-linux-arm64-gnu for glibc).
affects: all
Errors
Common errors & fixes
Error: Cannot find module '/path/to/lightningcss-cli-linux-arm64-musl'
Attempting to require the platform-specific package directly instead of the main lightningcss package.
fix
Remove direct reference to lightningcss-cli-linux-arm64-musl and use 'lightningcss-cli' package or the programmatic 'lightningcss' package.
Error: The module '/path/to/node_modules/lightningcss-cli-linux-arm64-musl/lightningcss' was compiled against a different Node.js version
Platform binary mismatch (possibly due to Node version incompatibility).
fix
Ensure you are using Node.js >= 12.0.0 as required. Reinstall node_modules to rebuild if necessary.
Error: EACCES: permission denied, open '/usr/local/lib/node_modules/lightningcss-cli-linux-arm64-musl/lightningcss'
Installing the package globally without proper permissions.
fix
Use npm install with sudo or configure npm prefix to avoid global installation issues.
Upgrade
Version history
1.32.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
lightningcss-cli-linux-arm64-musl — npm install lightningcss-cli-linux-arm64-musl · libregistry