Registry / devops / cordova-build

cordova-build

JSON →
library0.0.248jsnpmunverified

cordova-build is an npm package designed to provide a self-hosted alternative to the now-defunct PhoneGap Build service. It allows developers to run Cordova build processes on their own servers or agents, bypassing third-party cloud services. The package operates in four distinct modes: Server, Agent, Client, and UI, enabling a distributed build environment. However, this project is effectively abandoned; its last update was on October 27, 2014, and the current version is 0.0.248. It was developed to address disadvantages of PhoneGap Build, which itself was officially shut down in October 2020. Due to its age, `cordova-build` relies on severely outdated development environments such as Node.js versions from 2014, Xcode 5.1, Windows Phone SDK 8, and Android SDK versions from that era, making it highly incompatible with modern operating systems and mobile development toolchains. It has no discernible release cadence and is no longer maintained.

npm install cordova-build
INSTALL
IMPORT
SIG · CORDOVA-BUILD
C
cordova-build
devopsjavascriptv0.0.248
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

This demonstrates global installation and starting the `cordova-build` server in a self-hosted environment.

npm install -g cordova-build cordova-build -mode:server
Debug
Known issues
breakingThe `cordova-build` package is completely abandoned. It was last updated in October 2014 and is highly unlikely to function correctly with modern Node.js versions, operating systems, or mobile development SDKs.
fix
Do not use this package for new projects. For self-hosted Cordova/Capacitor builds, consider using the official Apache Cordova CLI directly, or explore CI/CD solutions like Jenkins, GitHub Actions, or GitLab CI with appropriate build environment setup.
affects: >=0.0.1
breakingThis tool requires extremely outdated system dependencies, including Node.js versions from 2014, Xcode 5.1, Windows Phone SDK 8, and old Android SDK versions. These are incompatible with current development environments and may pose security risks.
fix
Upgrading these dependencies to a compatible state is impractical or impossible. There is no viable fix for using this package in a modern environment.
affects: >=0.0.1
gotchaThe core problem `cordova-build` aimed to solve (being an alternative to PhoneGap Build) is no longer relevant, as PhoneGap Build itself was officially shut down in October 2020.
fix
Modern mobile app development workflows involve direct use of platform CLIs (Cordova, Capacitor, React Native CLI, Flutter CLI) and integrating them into standard CI/CD pipelines for automated builds.
affects: >=0.0.1
Errors
Common errors & fixes
Error: Cannot find module '...' (or similar module loading errors)
The package was built for a very old Node.js environment. Dependencies or core Node.js APIs it relies on may no longer exist or have changed significantly.
fix
This issue is unresolvable without significant rewrite or running in an extremely outdated, insecure Node.js environment. It's recommended to find modern alternatives.
Xcode 5.1 is not installed (or similar errors referencing ancient SDK versions)
The tool explicitly requires specific, long-deprecated versions of platform SDKs (e.g., Xcode 5.1, Windows Phone SDK 8) which are not available or compatible with modern operating systems.
fix
Modern macOS does not support Xcode 5.1, and Windows Phone SDK 8 is obsolete. There is no practical fix to make these requirements available for `cordova-build`.
Command failed: npm install -g cordova-build (or similar errors during installation)
Installation fails due to incompatibility with current npm/Node.js versions or missing native build tools required by old dependencies.
fix
While `npm install -g cordova-build` might complete on very specific, outdated environments, it will fail on most modern setups. Do not attempt to install or use this package.
Upgrade
Version history
0.0.248latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
cordova-build — npm install cordova-build · libregistry