Fixed npm run tsnode throwing error about ES modules for node-fetch. Probably was api package.json still included node-fetch 3, but bundle still had v2

This commit is contained in:
Madeline
2022-03-06 10:52:19 +03:00
committed by Erkin Alp Güney
parent 68f6fe58d5
commit 4ede702657
6 changed files with 2598 additions and 3824 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
"missing-native-js-functions": "^1.2.17",
"multer": "^1.4.2",
"nanocolors": "^0.2.12",
"node-fetch": "^2.6.7",
"node-fetch": "^2.6.2",
"supertest": "^6.1.6",
"typescript": "^4.1.2"
},
+1 -1
View File
@@ -54,7 +54,7 @@
"missing-native-js-functions": "^1.2.17",
"multer": "^1.4.2",
"nanocolors": "^0.2.12",
"node-fetch": "^2.6.7",
"node-fetch": "^2.6.2",
"supertest": "^6.1.6",
"typescript": "^4.1.2"
},