With my React cruise ship project, on my reviews-part branch I am getting the following error when running npm run dev for the localhost.
It says that express is deprecated , what does this mean ? It is also pointing to my ships route
and on my localhost these are the errors

I need help to understand why these errors are happening. If anyone has any suggestions that may help, that will be much appreciated.

The error doesn't say that Express is deprecated, it says that
res.send(status, body)is deprecated. More specifically, it means thatres.send()should only be passed one argument.In your code, you're using two arguments:
Express is trying to parse the first argument (
'something went wrong') as an HTTP status code, which it obviously isn't, hence theERR_HTTP_INVALID_STATUS_CODEerror.One solution would be to add the error message to the string.