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

[bug] Module not found: Error: Can't resolve './types/other' in '\node_modules\mime' #211

Closed
pinghe opened this issue Aug 22, 2018 · 1 comment

Comments

@pinghe
Copy link

pinghe commented Aug 22, 2018

ERROR in ./node_modules/mime/index.js
Module not found: Error: Can't resolve './types/other' in '\node_modules\mime'

In line 4 of index.js, the code needs to be modified to

module.exports = new Mime(require('./types/standard.json'), require('./types/other.json'));

Need to clear the file suffix is json。

my env:

yarn: 1.9.4
node: 9.6.1

@broofa
Copy link
Owner

broofa commented Aug 22, 2018

See #197

@broofa broofa closed this as completed Aug 22, 2018
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