Registry / devops / mfpdev-cli

mfpdev-cli

JSON →
library8.0.2022100206jsnpmunverified

The IBM MobileFirst Platform Foundation Command Line Interface (CLI) is a tool for developing and managing MobileFirst applications targeting IBM MobileFirst Platform Foundation v8.0. While the CLI itself is still available on npm (latest `8.0.2022100206`), the underlying IBM MobileFirst Platform Foundation v8.0 product reached its end of support on September 30, 2021. This CLI provides command-line functionalities for tasks such as creating, building, and deploying applications within that specific platform ecosystem. Its key differentiator was deep integration with IBM's MobileFirst platform, offering workflows tailored to that product. Users should be aware of the deprecated status of the targeted platform when considering its use for new projects.

npm install mfpdev-cli
INSTALL
IMPORT
SIG · MFPDEV-CLI
M
mfpdev-cli
devopsjavascriptv8.0.2022100206
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
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 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

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

mfpdev (global command)
npm install -g mfpdev-cli
This package is a command-line interface installed globally to make the `mfpdev` command available in the terminal.
mfpdev commands
mfpdev help
require('mfpdev-cli')
After global installation, specific commands are executed directly in the terminal, not imported into JavaScript/TypeScript code.

Installs the MobileFirst CLI globally, displays its help menu, and demonstrates how to create a new project and register a web application within it.

npm install -g mfpdev-cli mfpdev help mfpdev create project MyMobileFirstProject cd MyMobileFirstProject mfpdev app register com.example.myApp MyWebApp
mfpdev --version
Debug
Known issues
deprecatedThe `mfpdev-cli` targets IBM MobileFirst Platform Foundation v8.0, which reached its End of Support (EoS) on September 30, 2021. While the CLI remains available, new development should investigate successor products like IBM Mobile Foundation.
fix
For new projects, investigate migrating to IBM Mobile Foundation (often part of IBM Cloud Pak for Applications), which provides updated CLIs and capabilities, or consider alternative mobile development platforms.
affects: >=8.0.0
gotchaWindows users may encounter compilation errors related to `node-gyp` during global installation due to native dependencies.
fix
Try installing with `npm install -g --no-optional mfpdev-cli` to skip optional dependencies that might rely on native compilation. Ensure Python 2.7 and Visual Studio Build Tools are installed if native compilation is required.
affects: >=8.0.0
Errors
Common errors & fixes
Error: `node-gyp rebuild` failed
Native module compilation issues on Windows, often due to missing build tools (e.g., Python 2.7, Visual Studio Build Tools).
fix
Install Python 2.7, Visual Studio Build Tools (or `windows-build-tools`), and then retry `npm install -g --no-optional mfpdev-cli`. Refer to `node-gyp` documentation for detailed setup.
`mfpdev` is not recognized as an internal or external command
The `mfpdev-cli` package was not installed globally, or its installation directory is not in your system's PATH.
fix
Ensure you have successfully run `npm install -g mfpdev-cli`. Verify npm's global installation path is included in your system's PATH environment variable.
Upgrade
Version history
8.0.2022100206latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
mfpdev-cli — npm install mfpdev-cli · libregistry