次のpackage.jsonを使用
{
"name": "...",
"version": "0.1.1",
"engines": {
"node": "0.6.14",
"npm": "1.1.4"
},
"private": true,
"scripts": {
"start": "node app"
},
"dependencies": {
"connect-assets": "2.1.9",
"ejs": "0.7.1",
"everyauth": "0.2.32",
"express": "2.5.9",
"less-middleware": "0.1.4",
"mocha": "1.0.1",
"should": "0.6.1",
"socket.io": "0.9.6",
"underscore": "1.3.3"
}
}
私は次のようになります
WARNING: No version of Node.js specified in package.json, see:
https://devcenter.heroku.com/articles/nodejs-versions