From 6e95cea0e59236582daf3d6a08fdbe7cfef68a57 Mon Sep 17 00:00:00 2001 From: eyalc900 <51443390+eyalc900@users.noreply.github.com> Date: Sat, 31 Aug 2024 20:10:32 +0300 Subject: [PATCH] fix "npm install" error. --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a659df43d..09455928f 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,6 @@ "js-sha1": "^0.6.0", "lottie-react": "^2.3.1", "node-fetch": "^2.3.0", - "node-sass": "^6.0.1", "otplib": "^12.0.1", "qrcode": "^1.5.0", "react": "^17.0.2", @@ -86,6 +85,7 @@ "last 1 safari version" ] }, +"resolutions": { "nan": "2.18.0" }, "devDependencies": { "@babel/plugin-proposal-logical-assignment-operators": "^7.14.5", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6", @@ -109,6 +109,9 @@ "eslint-plugin-react-hooks": "^4.6.0", "imapflow": "^1.0.121", "jest-canvas-mock": "^2.4.0", + "nan": "2.18.0", + "node-gyp": "10.0.1", + "node-sass": "^9.0.0", "progress-bar-webpack-plugin": "^2.1.0", "web-vitals": "^1.1.2", "webpack-bundle-analyzer": "^4.6.1"