You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the code that is on npmjs.org for version tab v0.14.0 isn't what is here on github.
Running npm install java --ignore-scripts and checking the find_java_libdir.sh shows that its missing a crucial ^ character which causes problems when you have openjdk-17 installed. Line 26 is missing the caret character.
Forcing the v0.14.0 version from github in my package.json and using overrides : { "java": "$java" } } makes npm install work.
I see a lot of issues that might have this at the core of its problem.
Both node-jdbc-driver and nodejs-jdbc use node-java but the latter uses 0.14 and the former 0.12.1 from npmjs.org and both have problems being compiled by node-gyp.
With the above it compiles/installs with node-20
The text was updated successfully, but these errors were encountered:
It looks like the code that is on npmjs.org for version tab v0.14.0 isn't what is here on github.
Running
npm install java --ignore-scripts
and checking thefind_java_libdir.sh
shows that its missing a crucial^
character which causes problems when you have openjdk-17 installed. Line 26 is missing the caret character.Forcing the v0.14.0 version from github in my package.json and using
overrides : { "java": "$java" } }
makes npm install work.I see a lot of issues that might have this at the core of its problem.
For completeness my package.json
Both node-jdbc-driver and nodejs-jdbc use node-java but the latter uses 0.14 and the former 0.12.1 from npmjs.org and both have problems being compiled by node-gyp.
With the above it compiles/installs with node-20
The text was updated successfully, but these errors were encountered: