maxogden/recline — Issue #7: Windows issue
Author: martinthenext
Created: 2011-12-15 01:07:27+00:00
State: open

Hello,

Tried to do your video tutorial on Windows. Installed node.js (npm came out of the box), set 'Path' correctly. Downloaded your code, tried to push it to couch, got this:

D:\Projects\maxogden-recline-fe8df04>node "C:\Program Files (x86)\nodejs\node_mo
dules\couchapp\bin.js" push app.js http://localhost:5984/maxogden

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'app.js'
at Function._resolveFilename (module.js:334:11)
at Function._load (module.js:279:25)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at Object. (C:\Program Files (x86)\nodejs\node_modules\couchapp\b
in.js:78:24)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array.0 (module.js:470:10)

Any ideas on what is wrong? I can't understand how come it doesn't find app.js when I run it from the directory it is in.