keytar.node is not a valid win32 application
Opened this issue · 4 comments
antiochtech commented
sergiou87 commented
Is it possible your project included the linux binary for the win32 build?
If you have Git Bash or something like that on Windows, you can run file /path/to/your/project/keytar.node
and it will tell you what was it built for.
antiochtech commented
i'd say youre right. project/node_modules/keytar/bin
only includes a linux-x64-89
directory. seems i need to figure out how to npm install
for other platforms/architectures?
antiochtech commented
kinda surprised theres no progress on this?
akirataguchi115 commented
My file /path/to/your/project/keytar.node
command showed me x86-64 at first. Then I electron:builder'ed it for windows. The file
outputted 80386.
I solved the issue by deleting node_modules and npm install
again. The file
now outputs x86-64 but it works now fine.