Skip to content
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

nbind doesn't work with electron-packager #124

Open
gijshendrix opened this issue Nov 30, 2018 · 0 comments
Open

nbind doesn't work with electron-packager #124

gijshendrix opened this issue Nov 30, 2018 · 0 comments

Comments

@gijshendrix
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant