EvenAR / node-simconnect

A cross platform SimConnect client library for Node.JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Module Not Found | Electron v11.2.0

hiaaryan opened this issue · comments

image

Hello!
I have an electron build for MSFS2020. It builds successfully, I copy the SimConnect.dll to build/Release folder, however it fails to import the module.

Here's what I run for my build
HOME=~/.electron-gyp node-gyp rebuild --target=11.2.0 --arch=x64 --msvs_version=2019 --dist-url=https://electronjs.org/headers

Using node x64.

I am using the refactor branch.

This command works perfectly:
node examples/nodejs/example.js

how did you fix this?