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

TypeError: mime.lookup is not a function #38

Open
andreialecu opened this issue Nov 20, 2017 · 1 comment
Open

TypeError: mime.lookup is not a function #38

andreialecu opened this issue Nov 20, 2017 · 1 comment

Comments

@andreialecu
Copy link

andreialecu commented Nov 20, 2017

This package erroneously set the semver range of the mime package to >=1.2.6. mime has been completely rewritten from version 2.0 and its api is different. Also, it requires Node 6+.

After failing to contact mikeal about this, I have forked this package and published it to npm with mime pinned properly to ^1.x.x instead.

If anyone needs it, it's here:
https://www.npmjs.com/package/filed-mimefix
https://github.com/andreialecu/filed

I'll be lightly maintaining it, if required.

@brockers
Copy link

Thank you!

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

No branches or pull requests

2 participants