Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module 'multer' #532

Closed
rhalff opened this issue Mar 27, 2018 · 3 comments
Closed

Error: Cannot find module 'multer' #532

rhalff opened this issue Mar 27, 2018 · 3 comments

Comments

@rhalff
Copy link

rhalff commented Mar 27, 2018


[ ] Regression 
[*] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

If I write a module which uses @nestjs/common sometimes there is a complaint about the multer module not being found

Expected behavior

There is no complaint about multer.

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Being able to write modules which use @nestjs/common without needing any further setup.

Environment


Nest version: 4.6.5

The package of @nestjs/common uses multer but there is no mention of it in the package.json.

multer is a dependency of @nestjs/core though, it is however not using the module.

So it seems like there is perhaps a dependency mix-up.

@kamilmysliwiec
Copy link
Member

Thanks for reporting 👍

@kamilmysliwiec
Copy link
Member

Fixed in v5.0.0

@kamilmysliwiec kamilmysliwiec added this to the 5.0.0 milestone Apr 20, 2018
@lock
Copy link

lock bot commented Sep 25, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants