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

The requested module '/node_modules/.vite/deps/file-type.js?v=74b3d8f6' does not provide an export named 'fileTypeFromBlob' #625

Closed
SheldonWBM opened this issue Feb 5, 2024 · 2 comments

Comments

@SheldonWBM
Copy link

Issue:
From the browser console:

The requested module '/node_modules/.vite/deps/file-type.js?v=74b3d8f6' does not provide an export named 'fileTypeFromBlob'

Environment:
Vite: 5
React: 18
Yarn: 4 with PnP modules

This issue is similar to issue #619 where the solution is vague.
Is the "re-export" method compatible with Plug n' Play modules?
Is the potential issue with the vite.config the way modules are optimized (i.e. optimizeDeps)?
Is there a working example with Vite and Yarn PnP?

@sindresorhus
Copy link
Owner

This package has the correct config. The problem is with one of your tools and you should ask on their support channels instead.

@sindresorhus sindresorhus closed this as not planned Won't fix, can't repro, duplicate, stale Feb 6, 2024
@LancerComet
Copy link

This package has the correct config. The problem is with one of your tools and you should ask on their support channels instead.

@sindresorhus

image
image

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