fix: configure Angular 12 compatibility with Node 16
- Remove NODE_OPTIONS openssl-legacy-provider flags (Node 16 incompatible) - Add skipLibCheck to tsconfig for Leaflet type compatibility - Upgrade @types/leaflet to 1.7.11 for Node 16 compatibility - Project now builds and runs successfully with Node 16.20.2
This commit is contained in:
Generated
+14708
-12914
File diff suppressed because it is too large
Load Diff
@@ -68,7 +68,7 @@
|
||||
"@storybook/manager-webpack5": "^6.4.20",
|
||||
"@storybook/testing-library": "0.0.9",
|
||||
"@types/jasmine": "^3.10.2",
|
||||
"@types/leaflet": "^1.7.1",
|
||||
"@types/leaflet": "^1.7.11",
|
||||
"@types/node": "^12.20.55",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
"module": "es2020",
|
||||
"moduleResolution": "node",
|
||||
"target": "es2017",
|
||||
"skipLibCheck": true,
|
||||
"typeRoots": [
|
||||
"node_modules/@types"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user