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

5 Answers 5

7

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

apt-get install nodejs-legacy

Sign up to request clarification or add additional context in comments.

Comments

5

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

2 Comments

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 information
can you try which node to see whether node is installed?
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.

Comments

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

1 Comment

but which value you fill in the Node.js binary path - Optional?
1

sudo apt-get install nodejs worked for me

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.