Closed cloakedninjas closed 4 years ago
Try "skipLibCheck": true, inside tsconfig.json eg.
"compilerOptions": { "baseUrl": "src", "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, "downlevelIteration": true, "experimentalDecorators": true, "module": "esnext", "moduleResolution": "node", "importHelpers": true, "target": "es2015", **"skipLibCheck": true,** "typeRoots": [ "node_modules/@types" ], "lib": [ "es2018", "dom" ] },
Hope it will help you !!
Thank you <3
change version to : "ngx-swiper-wrapper": "~8.0.1"
Can solve this problem
ng update --next @angular/cli --force npm install typescript@latest
;)
Im using angular 5 is it possible to use ngx-file-upload
ng update @angular-devkit/build-angular
Describe the bug Upgraded to 5.3.3 just now and our Angular build is failing with the following:
From a quick google, it appears other repos are facing the same issue due to the use of TypeScript 3.7.0 - but Angular is restricted to <3.5.0
Similar errors https://github.com/nestjs/nest/issues/3513 https://github.com/googleapis/node-gtoken/issues/244
I believe the breaking change come from TypeScript directly https://github.com/microsoft/TypeScript/issues/33939 - but until a fix is released, the
index.d.ts
file will need regenerating withnpm i typescript@~3.6.0
(swap^
for~
)System: