Node AsyncLocalStorage destroyed/lost when multer 1.4.4-lts.1 or later is used
Author: C-SaundersCreated Jun 23, 2022Updated Aug 15, 2025
Labelsinvestigate
I made a simple Express app that demonstrates the problem: https://github.com/C-Saunders/multer-test
AsyncLocalStorage docs for reference
It's possible this is an issue with busboy, rather than multer. I didn't attempt to use different busboy versions because there were breaking changes between the versions used by these versions of multer, but it might be possible to untangle these.
Source: expressjs/multer