Registry / devops / mango-cli

mango-cli

JSON →
library3.9.6jsnpmunverified

mango-cli is a frontend development scaffolding and build tool (version 3.9.6) that provides a preconfigured devstack with Gulp, BrowserSync, Webpack, and support for Stylus, Sass, Less, Pug, TypeScript, React, and Svelte. It automates project initialization, dependency management, and build processes. The package is maintained by manGoweb and has a stable release cadence. Unlike Yeoman or create-react-app, it offers a unified CLI for both scaffolding and building with multiple template engines and CSS preprocessors out of the box. Requires Node.js >=14 and npm >=7.

npm install mango-cli
INSTALL
IMPORT
SIG · MANGO-CLI
M
mango-cli
devopsjavascriptv3.9.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Install mango-cli globally, scaffold a new project, and start the development server with live reload.

npm install -g mango-cli mkdir my-project && cd my-project mango init mango start # Open http://localhost:3000 in your browser
Debug
Known issues
gotchaNode.js v2.7 is recommended for Mac OS X; v3.x.x is NOT supported
fix
Use Node.js 10.x LTS or later (but avoid Node 3.x). Ensure python v2.7 is installed on macOS.
affects: >=3.0.0
gotchaProject must not be inside a directory with spaces in the path
fix
Rename the project directory to remove spaces, e.g., use 'my-project' instead of 'my project'.
affects: >=3.0.0
gotchalibvips is required for image processing; missing it causes build failures
fix
Install libvips via Homebrew on macOS: 'brew install vips' or on Linux: 'sudo apt-get install libvips-dev'.
affects: >=3.0.0
gotchaWindows users must have Git Bash or a Unix-like shell; PowerShell may cause issues
fix
Use Git Bash or Windows Subsystem for Linux (WSL) to run mango-cli commands.
affects: >=3.0.0
deprecatedGulp 3 is used internally; Gulp 4 CLI changes may cause incompatibility if global Gulp is installed
fix
Do not install gulp-cli globally. Use mango-cli's bundled version.
affects: >=3.0.0 <4.0.0
Errors
Common errors & fixes
Error: Cannot find module 'gulp'
Global Gulp installation conflicts with mango-cli's local dependencies
fix
Uninstall global Gulp: 'npm uninstall -g gulp' and reinstall mango-cli: 'npm install -g mango-cli'
mango: command not found
npm global install path not in system PATH
fix
Add npm global bin directory to PATH: 'export PATH="$(npm bin -g):$PATH"' or use nvm.
Python not found
Python 2.7 is missing on macOS; Node native modules require it
fix
Install Python 2.7: 'brew install python@2' or use pyenv.
Error: listen EADDRINUSE :::3000
Port 3000 already in use by another process
fix
Kill process on port 3000: 'lsof -ti:3000 | xargs kill -9' or change port in mango.config.js.
Upgrade
Version history
3.9.6latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
mango-cli — npm install mango-cli · libregistry