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.

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.
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.
npm install react-compiler-cli-win32-x64
yarn add react-compiler-cli-win32-x64
pnpm add react-compiler-cli-win32-x64

Shows that this package is a transitive dependency and should not be used directly. Use react-compiler-cli instead.

// 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