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

Uncaught Exception: mime.lookup is not a function #41

Open
josvaler opened this issue Nov 30, 2017 · 2 comments
Open

Uncaught Exception: mime.lookup is not a function #41

josvaler opened this issue Nov 30, 2017 · 2 comments

Comments

@josvaler
Copy link

This is what I got

External connections disabled.
See /Users/mtro.josevalerio/programming/NodeJS/dashboard/monitor-dashboard/config/external.js for more information.
Uncaught Exception: mime.lookup is not a function
TypeError: mime.lookup is not a function
at /Users/mtro.josevalerio/programming/NodeJS/dashboard/monitor-dashboard/node_modules/connect/lib/middleware/static.js:144:17
at FSReqWrap.oncomplete (fs.js:114:15)

@fyaowen
Copy link

fyaowen commented Apr 14, 2018

At line 21
, mime = require('mime');
=>
, mime = require('mime-types');

@hectorsl-sabre
Copy link

Tks

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

3 participants