Closed akashdeep931 closed 1 year ago
@akashdeep931 Version 9.x requires at least Node 16.x, seems like you are running an older version of Node. You should update as Node 14 and older are no longer receiving security updates.
@akashdeep931 In regards to types, be sure to include es2021
or later in your TS lib
, see eg: https://github.com/voxpelli/tsconfig/blob/ce084294e9ecf2f9497fc74bc09404a9315bfc05/node16.json#L8
Thank @voxpelli, in my machine it worked perfectly, however render was using an older version of node. I am now using Railway.app for hosting and all is working well.
@akashdeep931 Great to hear!
Having the following type error when deploying my node app on render:
The error is on the index.js file, you can see it in the following screenshot: