These are chat archives for shipitjs/shipit

25th
Feb 2016
Handonam
@handonam
Feb 25 2016 05:25
hey guys, I have this super odd situation where I am trying to run npm install remotely
my npm installs just throw tons of errors, kind of like the node 0.12.x to node 4.x transition
but, if i run npm install while i'm on the destination machine, it runs fine
very bizarre, and I don't know where to look
i defininitely only have one version of nodejs installed, and that's 4.2
Handonam
@handonam
Feb 25 2016 17:02
hm.. nevermind it seems like i can't do it over plain ssh at all
Handonam
@handonam
Feb 25 2016 19:36
figured it out. it was a bash_profile issue. However I do have a question: I can't seem to run sudo commands over remote because it won't run the tty option. looking around, I can't seem to find how to enable it for shipit. thoughts?
Handonam
@handonam
Feb 25 2016 20:28
ah, looks like this is the issue. I have to start the command with "sudo" because of this regex: https://github.com/shipitjs/ssh-pool/blob/master/lib/connection.js#L56
that's a little odd