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:
committed by
Erkin Alp Güney
parent
68f6fe58d5
commit
4ede702657
Generated
+1
-1
@@ -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
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user