cmake-js / fastcall

fastcall - Fast, dyncall based foreign function interface library for Node.js
https://www.npmjs.com/package/fastcall
Other
202 stars 14 forks source link

Invalid access to memory location when loading bindings #22

Open matortheeternal opened 7 years ago

matortheeternal commented 7 years ago

Description

When loading the module using require('fastcall') I'm getting this error:

Error: Invalid access to memory location.
\\?\E:\dev\git\zedit\node_modules\fastcall\build\Release\fastcall.node
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
    at Object.Module._extensions..node (module.js:598:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at bindings (E:\dev\git\zedit\node_modules\bindings\bindings.js:81:44)
    at Object.<anonymous> (E:\dev\git\zedit\node_modules\fastcall\lib\native.js:19:37)
    at Object.<anonymous> (E:\dev\git\zedit\node_modules\fastcall\lib\native.js:20:3)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)

This occurs both when binding ref.node and when binding fastcall.node.

System information

Steps to reproduce

Details