felixrieseberg / felixrieseberg/electron-windows-interactive-notifications

module could not be found: notifications_bindings.node

Open
#4 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
58
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Hello,

I have `electron-windows-interactive-notifications` as my dependency. When I use clean `npm install` and after that `electron-rebuild` I get:
```bash
App threw an error during load
Error: The specified module could not be found.
\\?\C:\Users\moro\projects\tw-en-ty\node_modules\electron-windows-interactive-notifications\build\Release\notifications_bindings.node
at Error (native)
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
at Object.Module._extensions..node (module.js:583:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at bindings (C:\Users\moro\projects\tw-en-ty\node_modules\bindings\bindings.js:76:44)
````

According to a [NodeJS issue](https://github.com/nodejs/node/issues/2964) it seems to be a native dependency problem. When I examine `notifications_bindings.node` by [dependencywalker](http://dependencywalker.com/) I see following missing direct DLLs (among many missing nested):

![image](http://i.imgur.com/P2hl7VBl.png)

Please, is it a problem with `electron-windows-interactive-notifications` or something else?

Also I found myself very confused resolving `electron-windows-interactive-notifications` issues as it is crossover of native and JS technologies which highly depends on the way an environment was set. Is there any OOTB-working sample for `electron-windows-interactive-notifications` that I could use as a reference?

Thank you!

> Question was also asked [here](http://stackoverflow.com/questions/42293430/unable-to-use-native-windows-library-in-nodejs)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.