-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Error: Could not locate the bindings file #8
Comments
If I run
So building with node seems to work on my machine, building with electron apparently not. |
Sorry about this. Cold you try running: NPM_CONFIG_LOGLEVEL=verbose yarn electron:install-app-deps to see if it will print more diagnostic data? Thanks! |
Thanks for the quick reply :) I ran
I still think the error somehow gets silenced as long as I run using the yarn wrapper (not sure if that is the correct name) and not directly using Edit: I just noticed the suggestion to use |
This is weird, seems like another package
I'll try to find information why that package fails, not sure if this is the reason |
@jojomatik what msvs version do you have installed? |
Above logs are from VS 2017 (MSBuild v15), same result with VS 2015 (MSBuild v14) |
Well actually: At least better_sqlite3 builds correctly and Console shows an error:
and a few more related to that. Not sure if they are related to the original issue though. |
same issue
|
Following the docs of Signal-Desktop I receive the following error for better-sqlite as soon as I run
yarn start
:The bindings file is actually missing. As I dived done deeper into the topic I realised that it shortly exists during the install process (
yarn install --frozen-lockfile
) as it is built on install. Same can be acchieved runningnpm run build-release
in/node_modules/@signalapp/better-sqlite3
. Bindings file located at/node_modules/@signalapp/better-sqlite3/build/Release/better_sqlite3.node
Shortly after however it is tried to rebuild the package using the electron builder which does not succeed apparently (no bindings file). I don't receive an error however.
Running
yarn start
with the manually built bindings file yields another error:NODE_MODULE_VERSION 109
is an electron specific version. I don't believe I can fake that version without electron builder.I've tried with multiple combinations: Node 16.16.0 as required, Node 19.x, better-sqlite3 v8.0.2, v8.0.3, v8.0.4 all of which on Windows 10.
The text was updated successfully, but these errors were encountered: