Registry / devops / reaction-build

reaction-build

JSON →
library1.0.0-rc.104jsnpmunverified

reaction-build is a command-line interface (CLI) tool designed as a build utility for React and React Native projects. It provides features like React Native compatibility and isomorphic bundling, aiming to produce code usable across various JavaScript environments. Originally associated with the broader "Reaction" ecosystem, potentially Reaction Commerce, its primary function is to abstract away complex build configurations, similar to tools like Create React App or Webpack. The package is currently at version `1.0.0-rc.104`, a release candidate, and has not been updated since late 2018. This indicates that the project is no longer actively maintained and would likely face compatibility issues with modern Node.js versions (it requires `>= 4.0.0`) or contemporary React development practices. It lacks current official usage documentation, requiring users to infer functionality from its source or general build tool patterns.

npm install reaction-build
INSTALL
IMPORT
SIG · REACTION-BUILD
R
reaction-build
devopsjavascriptv1.0.0-rc.104
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

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

reaction-build CLI
✓ npm install -g reaction-build reaction-build build
✗ import { build } from 'reaction-build'
This package is primarily a command-line interface (CLI) tool intended for global installation and direct execution via shell commands. It is not designed for programmatic import as a library.

Demonstrates how to set up `reaction-build` as a script in `package.json` for typical build, start, and test commands.

{ "name": "my-react-app", "version": "0.1.0", "private": true, "scripts": { "start": "reaction-build start", "build": "reaction-build build --env production", "test": "reaction-build test" }, "dependencies": { "react": "^16.0.0", "react-dom": "^16.0.0" } } // To use: // 1. Install globally: npm install -g reaction-build // 2. Navigate to your project directory. // 3. Install local dependencies: npm install // 4. Run the build command: // npm run build // // This command would typically compile your React application for deployment.
reaction-build --version
Debug
Known issues
breakingThe `reaction-build` package is in a release candidate stage (`1.0.0-rc.104`) and has not been updated since late 2018. It never reached a stable 1.0.0 release, indicating its development was halted.
fix
No direct fix. Users should consider modern, actively maintained build tools like Create React App, Vite, or Webpack directly for current React/React Native projects.
affects: >=1.0.0-rc.1
breakingThe package officially supports Node.js versions `>= 4.0.0`. Running it with modern Node.js versions (e.g., Node 16+) will likely lead to incompatibilities, errors, or unexpected behavior due to significant changes in JavaScript, Node.js APIs, and module systems over the years.
fix
Use Node.js version managers (e.g., `nvm`) to install and switch to an older, compatible Node.js version (e.g., Node 4.x or 6.x), if attempting to use this legacy tool. This is generally not recommended for new projects.
affects: >=1.0.0-rc.1
gotchaThere is no comprehensive or up-to-date documentation available for `reaction-build` beyond basic installation steps. The `README.md` explicitly states 'Contribute usage docs', implying a lack of official guidance for its features and configuration.
fix
Expect to infer functionality from common build tool patterns or by examining the source code. Community support or issue resolution is highly unlikely due to the project's abandoned status.
affects: >=1.0.0-rc.1
gotchaBeing an abandoned project, there will be no patches for security vulnerabilities, bug fixes, or compatibility updates for new versions of React, React Native, or underlying build dependencies (e.g., Babel, Webpack).
fix
Avoid using this package for production applications or any project requiring ongoing maintenance, security, or feature development. Migrate to actively supported build tools.
affects: >=1.0.0-rc.1
Errors
Common errors & fixes
Error: Command `build` not found.
The `reaction-build` executable was either not installed globally, or the system's PATH environment variable does not include the npm global bin directory.
fix
Ensure `reaction-build` is installed globally using `npm install -g reaction-build`. Verify your system's PATH includes the directory where npm installs global packages (`npm root -g`).
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Running `reaction-build` with an older Node.js version on a large project might exhaust the default memory limit, common with build processes.
fix
Increase Node.js's memory limit when running the command: `NODE_OPTIONS=--max_old_space_size=4096 reaction-build build` (adjust 4096MB as needed). Consider that this issue might also stem from inherent inefficiencies or outdated dependency versions in the abandoned tool.
Upgrade
Version history
1.0.0-rc.104latest on npm
Audit
Dependencies
commanderrequiredUsed for parsing command-line arguments, a common dependency for Node.js CLI tools.
Agent activity
2 hits · last 30 days
node
2
Resources
reaction-build — npm install reaction-build · libregistry