Closed
Description
- Node Version: 10.17.0
- Platform: Linux/Debian
- Compiler: gcc 9
- Module:
node-gyp is not compatible with semver ≥ 7. I found this little fix that seems to fix the problem:
--- a/lib/find-python.js
+++ b/lib/find-python.js
@@ -226,7 +226,7 @@
}
this.addLog(`- version is "${version}"`)
- const range = semver.Range(this.semverRange)
+ const range = new semver.Range(this.semverRange)
var valid = false
try {
valid = range.test(version)
Metadata
Metadata
Assignees
Labels
No labels