I\'m getting frequent errors when i start my server. Here is the error:
RangeError: Invalid time value at Date.toISOString ()
Here is the
This exception occurs when the Date object contains an invalid date.
new Date('undefined').toISOString()
In this example the Date object can be created without any problems, but the toISOString function throws an Error.
To fix your issue, you need to make sure that the timestamp variable contains a valid date string.