Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Tyruiop opened this issue Oct 6, 2021 · 1 comment
Open

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

Tyruiop opened this issue Oct 6, 2021 · 1 comment

Comments

@Tyruiop
Copy link

Tyruiop commented Oct 6, 2021

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?

@Tyruiop
Copy link
Author

Tyruiop commented Oct 6, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant