Buffer is not defined ,global is not defined ... When I use mqttjs #2263
Unanswered
quinn-gaoo
asked this question in
Q&A
Replies: 2 comments 2 replies
-
|
It seems like you are importing a node library into vite, which is not supported. #2320 (comment) Without more information, like your package.json or a reproduction, I can't say for sure. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Who can help me? I'm broken |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
-
How should I configure vite.config.js to solve xxxx is not defined
Beta Was this translation helpful? Give feedback.
All reactions