Node.js Expres.js Heroku Toolbelt >Foreman Start - Error: write EINVAL
express, foreman, heroku, node.js
Solution
I had the same issues as Jek. I was using express 4.4.4. I downgraded express 3.2.6 and it worked, but I shouldn't be forced to use an older version of express just because foreman doesn't support it.
I tried node-foreman. And it worked for me. I followed the instructions that included these steps:
- npm install -g foreman
- nf start
I would like to know if anyone has additional suggestions.
Problem
This is the error I encountered with package.json when running foreman start with Heroku Toolbelt for Node.js ``` "dependencies": { "express": "~4.4.0", "jade": "~1.3.1" } ```