Posts Tagged ‘npm’

Deploying a Node app on Digital Ocean using Nginx.

July 4th, 2015 4 Comments

do_node

This post will show you how to deploy to Digital Ocean, if you need to sign up click the link there! First things first, select an image to use, I have been using Ubuntu and I find it nice and easy to use, so this post will be focused around that system.

Once you get an image selected you will now need to login to it. You will get an email with the IP and the password for the server. You need to use shh to login to this server. This is not as hard as it sounds. In your terminal:


    ssh root@ipaddress_here

(more…)

Node and NPM no longer work after Mavericks update.

July 2nd, 2014 2 Comments

node-npm

I have had this issue a few times lately. I finally updated to Mavericks and low and behold node and npm no longer seem to work.

After updating to Mavericks, running node or the name of any npm package produced -bash: node: command not found

Here is how I went about getting it back up and running. These are a few ways I have found this that worked on all the computers I had this issue with.
(more…)