davidbanham / express-async-errors

async/await support for ExpressJS
Other
900 stars 43 forks source link

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

Open mauriciocrecencio opened 1 year ago

mauriciocrecencio commented 1 year ago

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

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

carlosmms1 commented 11 months ago

having the same issue

UltimateGG commented 10 months ago

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

islamBelabbes commented 6 months ago

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

image