-
Notifications
You must be signed in to change notification settings - Fork 80
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
Module did not self-registered (use node-printer with pkg) #45
Comments
Same issue using this module with an electron js app on windows.
|
Same here. Can easily be reproduced using Electron Fiddle using this gist: Win 10 64 bit App threw an error during load |
I got the same error |
Try running this command ./node_modules/.bin/electron-rebuild You might need electron-rebuild added as a dep in package.json |
Has anyone had any luck with this? I am having the same issue with Electron 19 |
I have been having the same issue with Electron 19. When I use electron 17 it seems to be working fine. |
npm install @thiagoelg/[email protected] rebuild --runtime=electron --target=89 --target_archive=x64 facing issue in latest version, version 0.5.5 working for me, electron 11.4.9 |
same issue for me with nw |
Hi!
Thank you very much for this convenient module. It works great direct in node.
I use a console app with "pkg".
When i start the console application it returns an error like this:
`
`
I tested it with pkg package.json:
I also copied the file node_printer.node directly parallel to the new exe. The same issue.
I installed the module with:
Usage in code:
My versions are
Hope you can help me.
The text was updated successfully, but these errors were encountered: