caolan/kanso — Issue #299: Path Issue on node-couchapp
Author: ryanramage
Created: 2011-10-30 19:55:26+00:00
State: open

On my first time restarting my computer after installing kanso, and trying to push a node-couchapp:

macbook-pro:read-to-me-on-the-couch ryan$ kanso push http://localhost:5983
loading /Users/ryan/github/read-to-me-on-the-couch
loading node-couchapp
preprocessor node-couchapp/eval
Error: Error when running preprocessor: "node-couchapp/eval"
Error: Cannot find module 'app'
at Function._resolveFilename (module.js:317:11)
at Function._load (module.js:262:25)
at require (module.js:346:19)
at /Users/ryan/github/kanso/packages/node-couchapp/build/eval.js:13:23
at BuildManager.runStep (/usr/local/lib/node/kanso/node_path/kanso/buildsteps.js:375:12)
at /usr/local/lib/node/kanso/node_path/kanso/buildsteps.js:133:18
at Array.forEach (native)
at BuildManager.run (/usr/local/lib/node/kanso/node_path/kanso/buildsteps.js:130:16)
at Object.preprocess (/usr/local/lib/node/kanso/node_path/kanso/packages.js:242:8)
at Object.process (/usr/local/lib/node/kanso/node_path/kanso/packages.js:281:13)
Failed

I tried deleting and re-fetching the packages, no luck.
I even hard coding the path in the node-couchapp eval script, but that led to it trying to upload to the fake_url for some reason.