I have a Node application written in Coffeescript. I have been developing and running locally with the following package.json and Procfile

``` package.json
{
  "name": "stream-reader",
  "version": "0.0.3",
  "dependencies": {
    "coffee-script": "~1.1.1",
    "twitter-node": "~0.0.2",
    "coffee-resque": "~0.1.4"
  },

  "devDependencies": {
    "docco": "~0.3",
    "vows": "~0.5.8"
  }
}
```

``` Procfile
reader: node_modules/.bin/cake read
```

The cake task builds my javascript files and then runs `node start.js`
When I run locally everything is peaches and gravy but when I attempt to add a reader process with `heroku scale` or run directly with `heroku run node_modules/.bin/cake` I get the following error:
```
Running reader attached to terminal... up, run.13

node.js:134
        throw e; // process.nextTick error, or 'error' event on first tick
        ^
Error: Cannot find module '/app/node_modules/coffee-script/lib/cake'
    at Function._resolveFilename (module.js:320:11)
    at Function._load (module.js:266:25)
    at require (module.js:348:19)
    at Object.<anonymous> (/app/node_modules/coffee-script/bin/cake:7:1)
    at Module._compile (module.js:404:26)
    at Object..js (module.js:410:10)
    at Module.load (module.js:336:31)
    at Function._load (module.js:297:12)
    at Array.<anonymous> (module.js:423:10)
    at EventEmitter._tickCallback (node.js:126:26)
```

Is there a specific way to invoke binaries other than node itself on the Cedar stack? I couldn't find documentation on it in the devcenter.

Thanks in advance,
--
Steven! Ragnarök
T 408 256 0278
[email protected]
http://nuclearsandwich.com

--
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to