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

[vite] Dep optimization failed with error: Could not load url (imported by node_modules\mqtt\lib\connect\index.js): ENOENT: no such file or directory, #1270

Closed
yaolunmao opened this issue Apr 16, 2021 · 2 comments
Assignees

Comments

@yaolunmao
Copy link

import mqtt from 'mqtt';

Error report occurred:[vite] Dep optimization failed with error: Could not load url (imported by node_modules\mqtt\lib\connect\index.js): ENOENT: no such file or directory,

I'm the vue3.0 project,How to solve it? Thank you

@m01i0ng
Copy link

m01i0ng commented Jun 28, 2021

#1269 (comment)

@YoDaMa
Copy link
Contributor

YoDaMa commented Sep 29, 2021

looks like #1269 answers this, so closing.

@YoDaMa YoDaMa closed this as completed Sep 29, 2021
@YoDaMa YoDaMa self-assigned this Sep 29, 2021
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