-
Notifications
You must be signed in to change notification settings - Fork 119
Description
Hi,
Using nbind with a simple electron app works fine, but when the app is packaged using electron-packager (or tooling that wraps electron-packager like electron-forge) I get the following error:
/Users/Gijs/Code/electron/electron-test/out/electron-test-darwin-x64/electron-test.app/Contents/Resources/app/node_modules/nbind/dist/nbind.js:15 Uncaught Error: Could not locate the bindings file. Tried:
/nbind.node
/build/nbind.node
/build/Debug/nbind.node
/build/Release/nbind.node
/out/Debug/nbind.node
/Debug/nbind.node
/out/Release/nbind.node
/Release/nbind.node
/build/default/nbind.node
/compiled/10.2.0/darwin/x64/nbind.node
/nbind.js
/build/nbind.js
/build/Debug/nbind.js
/build/Release/nbind.js
/out/Debug/nbind.js
/Debug/nbind.js
/out/Release/nbind.js
/Release/nbind.js
/build/default/nbind.js
/compiled/10.2.0/darwin/x64/nbind.js
The project is nothing more than the Electron Quick Start skeleton combined with the simplest use case from nbind.
Am I missing something?
Thanks