79088809

Date: 2024-10-15 07:28:09
Score: 1
Natty:
Report link

This error appeared for me when upgrading the app to Express v5.

As explained by others, when using Express v5 you should replace routes like:

app.use('*', xxxx);

to

app.use(/(.*)/, xxxx);

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aymeric Pineau