-
-
Notifications
You must be signed in to change notification settings - Fork 1
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packaging nodert in electron #5
Comments
I am importing it normally btw: import { devices } from '@xan105/nodert' |
It's pretty late so I can't check right now. But I just noticed that the actual filename has an uppercase char in its name |
Ok so somehow I've updated the package (2.1.2 | 5572a3c); I believe this should fix your error. Let me know. Sorry for the inconvenience. |
Thanks. It no longer throws errors, still opens as expected. But for some reason, doesn't work. I think that's a me thing though, would debug and get back to you :) |
Still doesn't work when packaged. I get this error now:
I am importing import { devices } from '@xan105/nodert' And instantiating geolocation normally: const geolocation = new devices.geolocation.Geolocator() |
Geolocator seems to be undefined in the packaged build. Maybe a |
I do not know which build process / system you are using to package your Electron app; Native modules should thus end up in Line 35 in 5572a3c
|
Fixed it. Thanks 鉂わ笍 |
Hello 馃憢, how is nodert packaged with electron? Everytime I package it normally and build it, then attempt to run the installed, native app, I get an error about missing imports. Using it in dev and preview works, but packaging it seems to break the package
The text was updated successfully, but these errors were encountered: