Dont Panic


navigation
home
github
twitter
email

Cloud9 & RaspberryPi

17 Oct 2012
Ive long been a fan of Cloud9 IDE and with my recent purchase of a RaspberryPi what better way to start some native code development than with the IDe i already know and love. Cloud9 started off with a heavy Node.JS bias, in fact the majority is written in node, but with ACE editor at the heart and its increasing ability to access the command line, configure 'deplyment' commands i figure it will make a fantastic IDE for C / C++ / Python or obviously Node.js development on the PI. So flashed my SD card with a fresh Adafruit image to get some of the kernel module bells and whistles for later use and went about getting C9 up and running. Step 1 : Node This was simple enough sudo apt-get install nodejs and I've installed node, but seeing as this is only version 0.6.* from the repo ill need npm as well sudo apt-get install npm a hop back to the command line and bobs your fathers brother Step 2 : Cloud9 Cloud9 have some great instructions on there github readme so off to work i go. unfortuneatly this is where the wheel start to come off... /usr/local/bin/sm -> /usr/local/lib/node_modules/sm/bin/sm > sm@0.1.69 postinstall /usr/local/lib/node_modules/sm > node ./scripts/postinstall.js npm ERR! TypeError: options.uid should be a number npm ERR! at ChildProcess.spawn (child_process.js:429:26) npm ERR! at Object.spawn (child_process.js:342:9) npm ERR! at spawn (/usr/share/npm/lib/utils/exec.js:103:22) npm ERR! at exec (/usr/share/npm/lib/utils/exec.js:40:12) npm ERR! at Array.0 (/usr/share/npm/lib/utils/lifecycle.js:141:5) npm ERR! at EventEmitter._tickCallback (node.js:190:39) npm ERR! You may report this log at: npm ERR! <http://bugs.debian.org/npm> npm ERR! or use npm ERR! reportbug --attach /usr/share/cloud9/npm-debug.log npm npm ERR! npm ERR! System Linux 3.2.27+ npm ERR! command "node" "/usr/bin/npm" "install" "-g" "sm" npm ERR! cwd /usr/share/cloud9 npm ERR! node -v v0.6.19 npm ERR! npm -v 1.1.4 npm ERR! message options.uid should be a number npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /usr/share/cloud9/npm-debug.log npm not ok Som more google shows no real answers so i figure im going to plow on and just do a standard npm install.   More updates to come. . . .