I want to deploy my nestjs application and I have this error - Unexpected token ‘??=’
But locally everything is ok
Build: npm install; npm run build; - everything is ok
Start: npm run start:prod; - here I have this error
SOLVE: Just add node version to you package.json node > 18
John_B
2
Hi,
You probably need to use a newer version of Node compared to our default version.
You’re able to control the version of Node that your service uses by following this doc, https://render.com/docs/node-version
John B
Render Support, UTC+1
system
Closed
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.