question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Package is broken. Seems that ./Mime is missing.

> mime = require('mime')
Error: Cannot find module './Mime'

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
broofacommented, Oct 15, 2017

Glad you [sort of] got this figured out.

1reaction
inletcommented, Oct 15, 2017

But it’s there alright: https://unpkg.com/mime@2.0.3/

Never had this issue before, something todo with my current project I guess.

I noticed that it works using npm npm install mime --save-dev, but not with yarn.

Anyway, I think your setup is totally fine. Let’s close this issue?

Cheers

Read more comments on GitHub >

github_iconTop Results From Across the Web

How Do I Resolve the "HTTP MIME Types file is missing" Error ...
Resolve the "HTTP MIME Types file is missing" Error That Might Occur After I Install Data OnTAP on the Dell™ PowerVault™ 720N, 740N, ......
Read more >
Incorrect or missing MIME types - Oracle Communities
I have SVG (image) and MP4 (video) files within my site. The files that are static assets with these extensions (meaning the physical...
Read more >
How to Fix No Video with Supported Format and MIME type ...
Users experience the error 'No video with supported format and MIME type found' when they try to stream video content on their Firefox ......
Read more >
Broken Images Due to Missing MIME Type Data - Foxtrot Media
If you're experiencing broken images in the WordPress backend, you may want to check if they're missing their post_mime_type information in ...
Read more >
Missing Mime type. is that even normal? - Stack Overflow
The MIME type for uploaded files is set by the client, not by the server. As such, it is completely unreliable. If you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found