Skip to content

Commit 367af8c

Browse files
agilgur5chearon
authored andcommitted
fix(deps): update prebuild-install to work on Node 22.14+
This installation error on Node 22.14+: ``` npm error prebuild-install warn This package does not support N-API version undefined npm error prebuild-install warn install No prebuilt binaries found (target=undefined runtime=napi arch=x64 libc= platform=linux) ``` is resolved by updating to newer `prebuild-install` 7.1.3, which has a newer version of `napi-build-utils` (2.0.0) with a bugfix for newer N-API version comparison
1 parent 9d5f104 commit 367af8c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
1212

1313
### Fixed
1414
* Fix a crash when SVGs without width or height are loaded (#2486)
15+
* Fix fetching prebuilds during installation on certain newer versions of Node (#2497)
1516

1617
3.1.0
1718
==================

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
],
4747
"dependencies": {
4848
"node-addon-api": "^7.0.0",
49-
"prebuild-install": "^7.1.1"
49+
"prebuild-install": "^7.1.3"
5050
},
5151
"devDependencies": {
5252
"@types/node": "^10.12.18",

0 commit comments

Comments
 (0)