Node.js error with "?="

The error is SyntaxError: Unexpected token ‘??=’
It works on my computer but not render.com

Hi there,

Thanks for getting in touch and using Render.

Syntax errors will be down to the code being executed or possibly differences between the environments, different versions of languages, frameworks, dependencies etc.

I’d encourage you to investigate your logs which should indicate where in your code the syntax error is and share such output as that will let us suggest what you can do. A post like your original gives no information, no steps to duplicate, no log output so is impossible to provide an answer to.

John B

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.