diff --git a/bundle/package-lock.json b/bundle/package-lock.json
index 1b145548..19c5b050 100644
--- a/bundle/package-lock.json
+++ b/bundle/package-lock.json
@@ -46,7 +46,7 @@
"morgan": "^1.10.0",
"multer": "^1.4.2",
"nanocolors": "^0.2.12",
- "node-fetch": "^2.6.7",
+ "node-fetch": "^2.6.2",
"node-os-utils": "^1.3.5",
"patch-package": "^6.4.7",
"pg": "^8.7.1",
@@ -215,7 +215,7 @@
"jsonwebtoken": "^8.5.1",
"lambert-server": "^1.2.11",
"missing-native-js-functions": "^1.2.18",
- "node-fetch": "^3.1.1",
+ "node-fetch": "^2.6.2",
"proxy-agent": "^5.0.0",
"typeorm": "^0.2.37",
"ws": "^7.4.2"
@@ -13469,7 +13469,7 @@
"jsonwebtoken": "^8.5.1",
"lambert-server": "^1.2.11",
"missing-native-js-functions": "^1.2.18",
- "node-fetch": "^3.1.1",
+ "node-fetch": "^2.6.2",
"proxy-agent": "^5.0.0",
"ts-node-dev": "^1.1.6",
"ts-patch": "^1.4.4",
diff --git a/bundle/package.json b/bundle/package.json
index 9acbf629..efcb0f90 100644
--- a/bundle/package.json
+++ b/bundle/package.json
@@ -4,7 +4,7 @@
"description": "",
"main": "src/start.js",
"scripts": {
- "setup": "node scripts/install.js && npm install && ts-patch install -s && patch-package --patch-dir ../api/patches/ && npm run build",
+ "setup": "node scripts/install.js && npm install --no-optional && ts-patch install -s && patch-package --patch-dir ../api/patches/ && npm run build",
"build": "node scripts/build.js",
"start": "node scripts/build.js && node dist/bundle/src/start.js",
"start:bundle": "node dist/bundle/src/start.js",
@@ -110,4 +110,4 @@
"typescript-json-schema": "^0.50.1",
"ws": "^7.4.2"
}
-}
+}
\ No newline at end of file
|