These learnings may shed light on your case - of course the SyntaxError points to an environment issue: