react-compiler-cli (win32-x64 binary)
raw JSON → 0.1.0 verified Fri May 01 auth: no javascript
This is the win32-x64 native binary for react-compiler-cli v0.1.0, a React compiler CLI. It is an internal dependency of react-compiler-cli and should not be installed directly. The react-compiler-cli package uses this platform-specific binary automatically via optionalDependencies. This package has no standalone functionality. If you see it in your node_modules, it was pulled in by react-compiler-cli, which provides the actual CLI tool for optimizing React components at build time.
Common errors
error Error: Cannot find module 'react-compiler-cli-win32-x64' ↓
cause You are trying to import or require this package directly, or your platform is not Windows x64 and react-compiler-cli is trying to load the wrong binary.
fix
Do not import this package directly. Ensure you are on Windows x64 and have installed react-compiler-cli (not just this package). If on another platform, use react-compiler-cli which will select the correct platform binary.
Warnings
gotcha Do not install this package directly. It is an internal binary for react-compiler-cli on Windows x64. If you install it manually, you may break the dependency resolution of react-compiler-cli. ↓
fix Remove this package if installed directly: npm uninstall react-compiler-cli-win32-x64. Then install react-compiler-cli: npm install react-compiler-cli.
gotcha This package is platform-specific (win32-x64). It will not work on other platforms. If you are on macOS or Linux, you should never see this package in your lock file unless you are using a cross-platform development environment incorrectly. ↓
fix Ensure you are on a Windows x64 machine when using react-compiler-cli, or use the correct platform-specific binary for your OS.
Install
npm install react-compiler-cli-win32-x64 yarn add react-compiler-cli-win32-x64 pnpm add react-compiler-cli-win32-x64 Imports
- (none) wrong
import * from 'react-compiler-cli-win32-x64'correctNot meant for direct import. Install 'react-compiler-cli' instead.
Quickstart
// This package is not meant to be used directly.
// Instead, install and use react-compiler-cli:
npm install react-compiler-cli
npx react-compiler --help