-
Notifications
You must be signed in to change notification settings - Fork 175
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
Rebuilding native modules directory naming issue #33
Comments
Nothing we can do about this, file on serialport? |
how come it is about the serialport module? doesn't electron-rebuild create the output directory? |
Nope |
electron-rebuild just asks node-gyp to build your project. As I said again, serialport controls this |
I have exactly the same problem with sqlite3. For information: I renamed the folder to Note that in ...
"module_path": "../lib/binding/node-v47-darwin-x64",
... and ...
"binary": {
"module_name": "node_sqlite3",
"module_path": "./lib/binding/{node_abi}-{platform}-{arch}",
"host": "https://mapbox-node-binary.s3.amazonaws.com",
"remote_path": "./{name}/v{version}/{toolset}/",
"package_name": "{node_abi}-{platform}-{arch}.tar.gz"
},
... PS: This command work (because module_path hard coded): |
Had the same issue, resolution: mapbox/node-pre-gyp#189 (comment) |
same problem here, only the resolution is none as the pull request is being ignored |
This is now solved upstream by mapbox/node-pre-gyp#187 - available in node-pre-gyp >= 0.6.25. So, the next step is to ensure that modules you are using that depend and bundle node-pre-gyp get re-tagged with the latest version. |
When rebuilding with the serialport module, it names the final directory as
However, when ran with the executable, it is looking for
It seems like in main.js, the directory name and electron versioning is mixed.
The text was updated successfully, but these errors were encountered: