joeferner / node-java

Bridge API to connect with existing Java APIs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can install but cannot rebuild (with error LNK2001) on windows

Tyruiop opened this issue · comments

Hi,

I am am successfully using node-java on windows however when using electron-rebuild to integrate it with electron, I get the error LNK2001 similar to this issue - exactly the same error message.

Do you have by any chance any idea on how to solve this problem? This issue was solved by switching to nan 2.14.0 and I tried but to no avail.

Thanks in advance!

P.S.: Unrelated, but the README says

node-gyp requires python 2.x not python 3.x. See nodejs/node-gyp#155 for more details.

however latest versions of node-gyp support python 3.x, so not sure if that's still valid?

Note that I can build node-java from source successfully & all tests correctly run