node-java icon indicating copy to clipboard operation
node-java copied to clipboard

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

Open Tyruiop opened this issue 4 years ago • 1 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 https://github.com/TooTallNate/node-gyp/issues/155 for more details.

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

Tyruiop avatar Oct 06 '21 10:10 Tyruiop

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

Tyruiop avatar Oct 06 '21 12:10 Tyruiop