express-async-errors icon indicating copy to clipboard operation
express-async-errors copied to clipboard

Working fine in dev, but when "npm run build" it's not working

Open mauriciocrecencio opened this issue 1 year ago • 3 comments

Should this package handles errors in production (builded project)?

All my errors throwed with "npm run start" are not catched properly equals in dev

mauriciocrecencio avatar Sep 17 '23 20:09 mauriciocrecencio

having the same issue

carlosmms1 avatar Dec 27 '23 19:12 carlosmms1

Did you ever fix this? I assume by npm build you are compiling a TypeScript project?

UltimateGG avatar Dec 31 '23 05:12 UltimateGG

if anyone still having the issue you need to disable code-splitting when compiling in order for it to work in production

image

islamBelabbes avatar Apr 27 '24 09:04 islamBelabbes