Cornbeast R&D
  • Synthesizers
  • DIY-electronics
  • Programming
  • About

nodejs

enoent

EACCES errors during npm install using sudo

When you install npm modules globally on mac or linux and get errors like env: node: No such file or directory /usr/local/lib or… errno ENOENT spawn ENOENT or… code EACCES […]

How I currently set up a Raspberry PI to run a Node.js application

Some notes for myself and maybe others. Buy Raspberry PI and SD card. Download Raspbian Wheezy: https://www.raspberrypi.org/downloads/ Unpack the image file, insert the SD cart, and write the image onto […]

IMG_6110

Fun with Raspberry PI, Node.js and websockets

I recently did a cool proof of concept; a raspberry PI running Nodje.js with a PIR sensor that emits messages if there is movement, and a Node.js webserver that serves […]