Skip to content

added conflict note to README - #798

Closed
C0pyR1ght wants to merge 2 commits into
expressjs:masterfrom
C0pyR1ght:master
Closed

C0pyR1ght wants to merge 2 commits into
expressjs:masterfrom
C0pyR1ght:master

Conversation

@C0pyR1ght

Copy link
Copy Markdown

Had the issue of trying to use Multer in combination with express-fileupload. After hours of looking though issues and trying I got it working.
Thought this small hint might be helpful to safe others hours of debugging.

added note that Multer conflicts with express-fileupload
@helio-frota

helio-frota commented Oct 31, 2019 •

Copy link
Copy Markdown

@C0pyR1ght hi,

While it is good to have some advice on this, and I believe your idea is to help other users, on the other hand I don't see it as something focused on the multer to the point that needs to add a note in README.

In fact multer functionality is being affected by the use of express-fileupload, as seen in this branch:
https://github.com/helio-frota/hold-my-file/blob/multer-798/server.js#L11

But let's imagine that other people write other module that deal with file uploads and that somehow can affect the multer if it is used together.

Another interesting example would be the use of a library that handles database connections, it would not make much sense to use two similar libraries to access the same database.
Something may have a good chance of going wrong.

/cc @gireeshpunathil

@UlisesGascon
UlisesGascon deleted the branch expressjs:master May 22, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants