Closed boxxxie closed 13 years ago
you are using the syntax from Python couchapp. the syntax for node couchapp is:
couchapp push app.js http://localhost:5984/dbname
you are right. i was missing the app.js part. i found that out when i was watching one of your videos. it's not so clear to me, though.
a full (small) example on this site would help a lot :)
feel free to fork the readme in browser and add an example :) you can use the 'fork and edit' button
I was pushing couchapps earlier, just fine. now i get this error and i don't understand it.
$~/Dropbox/work/rt7/graphing$ curl -X PUT http://localhost:5984/graphing {"ok":true}
$~/Dropbox/work/rt7/graphing$ couchapp push http://localhost:5984/graphing
node.js:205 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: Cannot find module '/home/paul/Dropbox/work/rt7/graphing/http:/localhost:5984/graphing' at Function._resolveFilename (module.js:318:11) at Function._load (module.js:263:25) at Module.require (module.js:341:17) at require (module.js:352:17) at Object. (/home/paul/local/lib/node_modules/couchapp/bin.js:78:24)
at Module._compile (module.js:416:26)
at Object..js (module.js:434:10)
at Module.load (module.js:335:31)
at Function._load (module.js:294:12)
at Array. (module.js:454:10)