Native module not found after Build
See original GitHub issue-
Version: electron-builder v21.2.0 electron v6.0.9 node v10.16.0
-
Target:
- Mac zip, dmg
- Windows nsis
- Linux AppImage, tar.gz
Custom native module not found after building the app installers. However, running with electron . in dev environment, It works fine. Here is the screen capture.
Here is the node-gyp configuration from binding.gyp file
{ "targets": [{ "target_name": "altron", "sources": [ "src/altron.cc" ], }] }
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Module not found: Can't resolve 'react-native' - Stack Overflow
I faced this issue since many days "Module not found" the simple solution is go to your project folder and delete node_modules folder...
Read more >Error: Notifee native module not found. · Issue #478 - GitHub
Hi after installation in my main screen i can import notifee but when use like notifee.displayNotification(JSON.parse(message.data.notifee)) ...
Read more >Troubleshooting | React Navigation
If the module points to an npm package (i.e. the name of the module doesn't with ./ ), then it's probably due to...
Read more >Native Node Modules | Electron
If you installed a native module and found it was not working, you need to check the following things: When in doubt, run...
Read more >Troubleshooting - React Native
These are some common issues you may run into while setting up React Native. If you encounter something that is not listed here, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The issue has not been fixed, please provide detail on how to use compiled native module in electron production build.