You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installation failed first time, then worked but mango build doesn't
You didn't complete the installation properly. Please reinstall.
I did update Node.js and mango-cli doesn't work
Different Node versions aren't binary compatible (yet) so all native dependencies will break and need to be recompiled against used version. The quickest way is to reinstall mango-cli after every Node update.
How to use multiple version of mango-cli
you can install any specific version of mango-cli as a project dependency npm install --save mango-cli@v1.3.0, then run it from package.json scripts.
or you can have multiple Node versions with different global modules and switch between them using https://github.com/creationix/nvm
Errors
JavaScript runtime
Uncaught ReferenceError: require is not defined
You're probably mixing ES6 modules import, export with CommonJS require() together, which is not supported. Please use only one system. We prefer the ES6 modules as it's a standard.