-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
mime.lookup is not a function #4134
Comments
My best guess is that this is a bug in |
Looking further, it seems like either you're missing a subdependency, or you have the wrong version of Try deleting |
(Feel free to reopen if that doesn't work) |
@Zarel changing |
That definitely means you have the wrong version of |
i just did |
Let's just chalk it up to a one-time npm glitch. |
Are you using c9? I've expirienced this in the past trying to connect (link didnt redirect to psim.us) its easily fixed by adding -80.psim.us to the normal link (if it dosent already have it) |
What versions of node, npm, node-static, and mime are installed if this happens for you, out of curiosity?
The only reason that prevents the crash is because using the psim.us URL skips having to get index.html from the server to get redirected. Any requests to the server outside of |
lookup() renamed to getType() in mime version 2. https://www.npmjs.com/package/mime |
my os is windows 8.1 64 bit
this is the following error
here is the following logs
it happended when i went on http://localhost:8000
The text was updated successfully, but these errors were encountered: