Skip to content

Commit dd91a83

Browse files
possible fix
1 parent ee8af62 commit dd91a83

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

.circleci/config.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -798,11 +798,6 @@ jobs:
798798
nvm use 20.15
799799
npm install --global yarn
800800
801-
# hardcode due to incorrect N-API version detection
802-
export NAPI_VERSION=6
803-
export npm_config_NAPI_VERSION=6
804-
export npm_config_napi_version=6
805-
806801
# set ALL_REDIS_COMMANDS=$(curl $ALL_REDIS_COMMANDS_RAW_URL)
807802
yarn install
808803
yarn --cwd redisinsight/api/ install

redisinsight/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
"email": "[email protected]",
1212
"url": "https://redis.com/redis-enterprise/redis-insight"
1313
},
14-
"scripts": {},
14+
"scripts": {
15+
"postinstall": "npx patch-package"
16+
},
1517
"resolutions": {
1618
"**/semver": "^7.5.2"
1719
},
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/node_modules/sqlite3/package.json b/node_modules/sqlite3/package.json
2+
index ab413ff..a54b830 100644
3+
--- a/node_modules/sqlite3/package.json
4+
+++ b/node_modules/sqlite3/package.json
5+
@@ -9,7 +9,6 @@
6+
},
7+
"binary": {
8+
"napi_versions": [
9+
- 3,
10+
6
11+
]
12+
},

0 commit comments

Comments
 (0)