When deploying my Rails app I get the following error:
rake aborted! ExecJS::ProgramError: Unexpected token punc «(», expected punc «:» (line: 15, col: 14
I suspect, in that js file, you have something like the following:
var User = { getName() { alert("my name"); } }
Replacing it with the right format,
var User = { getName: function() { alert("my name"); } }
worked for me.
Error is clearly saying, it's expecting ":" but it found "(".