I am trying to install Meteor-Up (mup) for deploying an app from my Ubuntu 14.04 laptop to a Ubuntu 14.04 server, but it does not seem to install correctly. How can I install mup correctly?
I know that I need npm to in order to install mup. So, I have successfully installed npm with:
$ sudo apt-get install npm
Then, I try to install mup with:
$ sudo npm install -g mup
Install log:
npm http GET https://registry.npmjs.org/mup
npm http 304 https://registry.npmjs.org/mup
npm http GET https://registry.npmjs.org/nodemiral
npm http GET https://registry.npmjs.org/cjson
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/uuid
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/underscore/1.7.0
npm http 304 https://registry.npmjs.org/colors
npm http 304 https://registry.npmjs.org/uuid
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/nodemiral
npm http 304 https://registry.npmjs.org/cjson
npm http 304 https://registry.npmjs.org/underscore/1.7.0
npm http GET https://registry.npmjs.org/jsonlint/1.6.0
npm http GET https://registry.npmjs.org/ejs
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/handlebars
npm http 304 https://registry.npmjs.org/ejs
npm http 304 https://registry.npmjs.org/handlebars
npm http 304 https://registry.npmjs.org/debug
npm http 304 https://registry.npmjs.org/jsonlint/1.6.0
npm http GET https://registry.npmjs.org/nomnom
npm http GET https://registry.npmjs.org/JSV
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/uglify-js
npm http 304 https://registry.npmjs.org/nomnom
npm http 304 https://registry.npmjs.org/JSV
npm http 304 https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/source-map
npm http 304 https://registry.npmjs.org/chalk
npm http 304 https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/has-color
npm http GET https://registry.npmjs.org/ansi-styles
npm http GET https://registry.npmjs.org/strip-ansi
npm http 304 https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/strip-ansi
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/source-map
npm http 304 https://registry.npmjs.org/ansi-styles
npm http 304 https://registry.npmjs.org/has-color
npm http GET https://registry.npmjs.org/amdefine
npm http 304 https://registry.npmjs.org/amdefine
/usr/local/bin/mup -> /usr/local/lib/node_modules/mup/bin/mup
[email protected] /usr/local/lib/node_modules/mup
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected])
After this whenever I try to use the $ mup command
or $ mup -help
(to check that it installed properly), I get the following message:
/usr/bin/env: node: No such file or directory
Am I missing part of the installation process, since it seems to recognize that mup is a command? I would like to know how to fix this issue and an explanation of the problem would be a bonus. Thank you for any help!
Mup supports Meteor 1.2 and newer, though you might need to change the docker image in your mup config. This is the default docker image. When using Meteor 1.2, app.buildOptions.serverOnly should be false.
Once you are setup with Galaxy, deployment is simple (just re-run the meteor deploy command above), as is scaling — log into galaxy.meteor.com, and scale instantly from there. Meteor Up, often referred to as “mup”, is a third-party, open-source tool that can be used to deploy Meteor applications to any online server over SSH.
If it is, either your app or a package it uses has force-ssl as a dependency. mup is not backward compatible with Meteor Up 0.x. or mupx. Now we don’t re-build binaries. Instead, we build for the os.linux.x86_64 architecture. (This is the same thing what meteor-deploy does) Use a new server if you can.
The environment you choose will need the correct version of Node.js and connectivity to a MongoDB server. Depending on the version of Meteor you are using, you should install the proper version of node using the appropriate installation process for your platform.
Node.js was not installed properly, double check to see if you have installed node properly following this instructions.
Linux
Other Operating Systems
Node is not properly linked, using this command should fix that. But a better solution is to reinstall Node.js from those links.
$ sudo ln -s /usr/bin/nodejs /usr/bin/node
Now it recognizes the commands $ mup
and $ mup -help
.
I think you need to install nodejs via this: https://github.com/joyent/node/wiki/installing-node.js-via-package-manager#debian-and-ubuntu-based-linux-distributions
That'll fix the node issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With