I've just tried to deploy the latest version of my Node app to Heroku. I was using let from the ES2015 spec
It kept failing as during the start-up Heroku ran:
2015-09-04T21:36:09.334796+00:00 heroku[web.1]: Starting process with command `node app.js`
And then crashed when it hit the let or const keywords (I had "use strict" set)
However, my package.json was specifying the --harmony flag
"scripts": {
"start": "node --harmony app.js",
"test": "mocha test"
},
Nine times out of 10, this is user error. What am I doing wrong?