WebFaction
Community site: login faq

I want to install Cloud9 IDE on my WebFaction account. I have followed the instructions to compile and install Node.js in the tutorial posted on this site. I have also followed the instructions at its GitHub page, but when I run

sm install

I get the following:

*    'build' finished successfully (0.927s)
*    npm http GET https://registry.npmjs.org/streamer
*    npm http 200 https://registry.npmjs.org/streamer
*    npm http GET https://registry.npmjs.org/streamer/-/streamer-0.2.1.tgz
*    npm http 200 https://registry.npmjs.org/streamer/-/streamer-0.2.1.tgz
*    
*    > gnu-tools@0.0.8 postinstall /home/petarpet/node_projects/cloud9/node_modules/jsDAV/node_modules/gnu-    tools
*    > node ./install.js
*    
*    path.existsSync is now called `fs.existsSync`.
*    Creating directory  /home/petarpet/node_projects/cloud9/node_modules/jsDAV/node_modules/gnu-tools/bin
*    path.exists is now called `fs.exists`.
*    Grand, you've already got 'find' and 'grep' on your system.
*    Linking  /bin/find  to  /home/petarpet/node_projects/cloud9/node_modules/jsDAV/node_modules/gnu- tools/bin/find
*    
*    fs.js:561
*      return binding.symlink(preprocessSymlinkDestination(destination, type),
*                     ^
*    Error: ENOENT, no such file or directory   '/home/petarpet/node_projects/cloud9/node_modules/jsDAV/node_modules/gnu-tools/bin/find'
*        at Object.fs.symlinkSync (fs.js:561:18)
*        at /home/petarpet/node_projects/cloud9/node_modules/jsDAV/node_modules/gnu-tools/install.js:68:32
*        at /home/petarpet/node_projects/cloud9/node_modules/jsDAV/node_modules/gnu-tools/install.js:141:13
*        at ChildProcess.exithandler (child_process.js:544:7)
*        at ChildProcess.EventEmitter.emit (events.js:99:17)
*        at maybeClose (child_process.js:638:16)
*        at Socket.ChildProcess.spawn.stdin (child_process.js:815:11)
*        at Socket.EventEmitter.emit (events.js:96:17)
*        at Socket._destroy.destroyed (net.js:357:10)
*        at process.startup.processNextTick.process._tickCallback (node.js:244:9)
*    npm ERR! gnu-tools@0.0.8 postinstall: `node ./install.js`
*    npm ERR! `sh "-c" "node ./install.js"` failed with 1
*    npm ERR! 
*    npm ERR! Failed at the gnu-tools@0.0.8 postinstall script.
*    npm ERR! This is most likely a problem with the gnu-tools package,
*    npm ERR! not with npm itself.
*    npm ERR! Tell the author that this fails on your system:
*    npm ERR!     node ./install.js
*    npm ERR! You can get their info via:
*    npm ERR!     npm owner ls gnu-tools
*    npm ERR! There is likely additional logging output above.
*    
*    npm ERR! System Linux 2.6.32-220.23.1.el6.x86_64
*    npm ERR! command "/home/petarpet/bin/node" "/home/petarpet/bin/npm" "install" "."
*    npm ERR! cwd /home/petarpet/node_projects/cloud9
*    npm ERR! node -v v0.8.14
*    npm ERR! npm -v 1.1.65
*    npm ERR! code ELIFECYCLE
*    npm ERR! 
*    npm ERR! Additional logging details can be found in:
*    npm ERR!     /home/petarpet/node_projects/cloud9/npm-debug.log
*    npm ERR! not ok code 0
*    
*        at ChildProcess.<anonymous> (/home/petarpet/lib/node_modules/sm/node_modules/sourcemint-pm-sm/node_modules/sourcemint-pm-npm/lib/npm.js:77:29)
*        at ChildProcess.EventEmitter.emit (events.js:99:17)
*        at Process._handle.onexit (child_process.js:678:10)
* ERROR ***************************************************************************

The npn-debug.log file contains the following:

29390 info preuninstall jsDAV@0.1.8
29391 info uninstall jsDAV@0.1.8
29392 verbose true,/home/petarpet/node_projects/cloud9/node_modules,/home/petar$
29393 info postuninstall jsDAV@0.1.8
29394 error gnu-tools@0.0.8 postinstall: `node ./install.js`
29394 error `sh "-c" "node ./install.js"` failed with 1
29395 error Failed at the gnu-tools@0.0.8 postinstall script.
29395 error This is most likely a problem with the gnu-tools package,
29395 error not with npm itself.
29395 error Tell the author that this fails on your system:
29395 error     node ./install.js
29395 error You can get their info via:
29395 error     npm owner ls gnu-tools
29395 error There is likely additional logging output above.
29396 error System Linux 2.6.32-220.23.1.el6.x86_64
29397 error command "/home/petarpet/bin/node" "/home/petarpet/bin/npm" "install$
29398 error cwd /home/petarpet/node_projects/cloud9
29399 error node -v v0.8.14
29400 error npm -v 1.1.65

How do I proceed about this?

asked 02 Nov '12, 08:03

petarpetrovic
1613
accept rate: 100%


Using the latest version of Node.js, was able to install using these steps:

mkdir -p $HOME/src
cd $HOME/src
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
alias python=python2.6
./configure --prefix=$HOME
make && make install

npm install -g sm

cd $HOME
git clone https://github.com/ajaxorg/cloud9.git cloud9
cd cloud9
sm install
~/cloud9/bin/cloud9.sh
permanent link

answered 02 Nov '12, 09:54

timg ♦♦
1.3k4
accept rate: 30%

This solved my problem. Thanks a lot.

(04 Nov '12, 12:37) petarpetrovic
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×34
×4

question asked: 02 Nov '12, 08:03

question was seen: 5,461 times

last updated: 04 Nov '12, 12:37

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM