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

Using deasync under Electron 0.36.7 on Windows #47

Closed
kitsonk opened this issue Feb 17, 2016 · 3 comments
Closed

Using deasync under Electron 0.36.7 on Windows #47

kitsonk opened this issue Feb 17, 2016 · 3 comments

Comments

@kitsonk
Copy link

kitsonk commented Feb 17, 2016

I am trying to utilise deasync under Electron. The package works perfectly fine under OSX and works fine under NodeJS on Windows, but when attempting to load the module under Electron on Windows, I get the following:

App threw an error when running { [Error: Could not locate the bindings file. Tried:
 → {REMOVED}app\node_modules\deasync\build\deasync.node
 → {REMOVED}app\node_modules\deasync\build\Debug\deasync.node
 → {REMOVED}app\node_modules\deasync\build\Release\deasync.node
 → {REMOVED}app\node_modules\deasync\out\Debug\deasync.node
 → {REMOVED}app\node_modules\deasync\Debug\deasync.node
 → {REMOVED}app\node_modules\deasync\out\Release\deasync.node
 → {REMOVED}app\node_modules\deasync\Release\deasync.node
 → {REMOVED}app\node_modules\deasync\build\default\deasync.node
 → {REMOVED}app\node_modules\deasync\compiled\5.1.1\win32\x64\deasync.node]
  tries:
   [ '{REMOVED}app\\node_modules\\deasync\\build\\deasync.node',
     '{REMOVED}app\\node_modules\\deasync\\build\\Debug\\deasync.node',
     '{REMOVED}app\\node_modules\\deasync\\build\\Release\\deasync.node',
     '{REMOVED}app\\node_modules\\deasync\\out\\Debug\\deasync.node',
     '{REMOVED}app\\node_modules\\deasync\\Debug\\deasync.node',
     '{REMOVED}app\\node_modules\\deasync\\out\\Release\\deasync.node',
     '{REMOVED}app\\node_modules\\deasync\\Release\\deasync.node',
     '{REMOVED}app\\node_modules\\deasync\\build\\default\\deasync.node',
     '{REMOVED}app\\node_modules\\deasync\\compiled\\5.1.1\\win32\\x64\\deasync.node' ] }

And below is the error being logged to a dialog:

windows_10

@kitsonk
Copy link
Author

kitsonk commented Feb 18, 2016

I added some console logging on the errors the led up to the above and discovered the following:

[Error: A dynamic link library (DLL) initialization routine failed.
\\?\{REMOVED}app\node_modules\deasync\bin\win32-x64-node-5\deasync.node]

So while on OSX under Electron 0.36.7 it is fine, there is something wrong under Windows.

@abbr
Copy link
Owner

abbr commented Feb 18, 2016

Probably vc++ 2010 or 2013 redistritables.

Sent via phone

On Feb 18, 2016, at 1:39 AM, Kitson Kelly notifications@github.com wrote:

I added some console logging on the errors the led up to the above and discovered the following:

[Error: A dynamic link library (DLL) initialization routine failed.
?{REMOVED}app\node_modules\deasync\bin\win32-x64-node-5\deasync.node]
So while on OSX under Electron 0.36.7 it is fine, there is something wrong under Windows.


Reply to this email directly or view it on GitHub.

@eranimo
Copy link

eranimo commented Aug 7, 2016

I can't get this package working (it's a dependency of a dependency) under electron-prebuild@1.3.2 on OSX Yosemite and node v6.2.0. I get the exact same error, even after running electron-rebuild.

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

3 participants