We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trying to import a lib which itself uses noble from a Vue app, I get this error
The text was updated successfully, but these errors were encountered:
it seems one of the dependencies of noble is looking for the process variable which doesn't exist when using Vite (we need import.meta.env)
noble
process
import.meta.env
Sorry, something went wrong.
This package is not for browser environment . Should only be used in Node.js. "Process" is one of core module of NODE.JS
Hmmmm it's too bad that it implements a wrapper for Webbluetooth but wouldn't be available in browsers no?
If using vite you could just use meta rather than process to access ENV variable both in Node and browser
vite
meta
No branches or pull requests
When trying to import a lib which itself uses noble from a Vue app, I get this error
The text was updated successfully, but these errors were encountered: