Posts

Showing posts from October, 2013

controldeck.js on Mac Os

Disclaimer: this post might not be the better solution, probably there are other solutions over the net.

My intention was to give a try to controldeck.js. The reason is that this kind of presentations blow my mind.
Well is not all straightforward.
Dependencies!
You need dependecies to be able to run controldeck.js.
Eaaaaasy i thought, there only two: node-static and socket.io... and also node js...
I already had node js so i only needed node-static and socket.io...
How can i can install node packages modules? with npm.
I tried npm in my console and surprisingly was already installed in my system!
The way that you install node pkg modules is running npm install package.
So I tried npm install node-static and an error appeared (same error also for socket.io).
TypeError Arguments to path.resolve must be strings Reading and trying lot of things (most of them without knowing what they were really doing) i found a post that said to delete node js and reinstall it using nvm (node version man…