cesine/tea-mates — Issue #1: Howto set it up
Author: cesine
Created: 2011-11-16 16:08:15+00:00
State: open

In order to set up the tea-mates project, need to install dependancies.

npm install nlogger
npm install connect-form (which might actually be formidable?)
npm install underscore
npm install socket.io

Then the server will run, with this error:

WARN nlogger - Error loading nlogger config file. Using defaults

Until you upload a file, and you get this error:

DEBUG main:51 -
uploaded %s to %s'mid.mp3''/tmp/408c2d31aa58e3d40a7f2cf7b23fecc1.mp3'

fs.js:221
return binding.open(path, stringToFlags(flags), mode);
^
Error: EBADF, Bad file descriptor '/Users/gina/Downloads/aublog_website/tea-mates/counter.json'
at Object.openSync (fs.js:221:18)
at Object.readFileSync (fs.js:112:15)
at /Users/gina/Downloads/aublog_website/tea-mates/app.js:63:30
at IncomingForm. (/Users/gina/Downloads/aublog_website/tea-mates/node_modules/connect-form/node_modules/formidable/lib/incoming_form.js:117:9)
at IncomingForm.emit (events.js:61:17)
at IncomingForm._maybeEnd (/Users/gina/Downloads/aublog_website/tea-mates/node_modules/connect-form/node_modules/formidable/lib/incoming_form.js:373:8)
at /Users/gina/Downloads/aublog_website/tea-mates/node_modules/connect-form/node_modules/formidable/lib/incoming_form.js:207:12
at /Users/gina/Downloads/aublog_website/tea-mates/node_modules/connect-form