Could not execute Node.js Cloud9
Asked Answered
S

5

17

I am trying to use Cloud9 IDE on a server. I added the SSH key and once I try to SSH into the server the error message

Could not execute node.js on [email protected]

appears.

I have nodejs installed on the server, v0.10.25

Syncretism answered 8/3, 2015 at 23:51 Comment(0)
N
7

You need to install the package "nodejs-legacy".

apt-get install nodejs-legacy

Narcosis answered 6/4, 2015 at 19:16 Comment(0)
H
5

The SSH dialog allows you to set the path to the Node.js binary. That should solve your issue.

Hajj answered 9/3, 2015 at 1:54 Comment(2)
Where can I find that binary? I couldn't find any file named node.js using the find command and googling the result does not bring up much useful informationSyncretism
can you try which node to see whether node is installed?Navigate
C
3

I found it is necessary to scroll down and click on the advanced tab. Then I entered /usr/bin/nodejs from my "which nodejs" output in my SSH session. This worked for me even though the documentation states AWS tries to do this by default. That left me in the AWS file work space on the server I ssh'ed into as desired.

Conga answered 21/3, 2018 at 2:26 Comment(0)
P
3

nodejs was not installed on my EC2 instance, so I installed using the instructions from the following link, and it work perfectly. Tutorial: Setting Up Node.js on an Amazon EC2 Instance

Parsnip answered 6/6, 2019 at 2:49 Comment(1)
but which value you fill in the Node.js binary path - Optional?Sunbeam
K
1

sudo apt-get install nodejs worked for me

Knitter answered 16/6, 2020 at 10:1 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.