I'm quite surprised seeing that when I deployed my express app to heroku the error occurs SyntaxError: Unexpected token ...
, indeed I use spread operator and it work when running locally. For some reason I can see the error in heroku logs which crashes my app. Any ideas?
Spread wasn't supported in node until 8.2.1
try updating your node version