[BUG] Angular 9 support?
See original GitHub issue🐛 Bug Report
After updating my angular application to v9, I’m getting the following errors:
ERROR in node_modules/exceljs/index.d.ts:1284:22 - error TS2307: Cannot find module 'stream'.
1284 read(stream: import('stream').Stream): Promise<Workbook>;
~~~~~~~~
node_modules/exceljs/index.d.ts:1310:23 - error TS2307: Cannot find module 'stream'.
1310 write(stream: import('stream').Stream, options?: Partial<XlsxWriteOptions>): Promise<void>;
~~~~~~~~
node_modules/exceljs/index.d.ts:1332:22 - error TS2307: Cannot find module 'stream'.
1332 read(stream: import('stream').Stream, options?: Partial<CsvReadOptions>): Promise<Worksheet>;
~~~~~~~~
node_modules/exceljs/index.d.ts:1352:23 - error TS2307: Cannot find module 'stream'.
1352 write(stream: import('stream').Stream, options?: Partial<CsvWriteOptions>): Promise<void>;
~~~~~~~~
node_modules/exceljs/index.d.ts:1649:19 - error TS2307: Cannot find module 'stream'.
1649 stream: import('stream').Stream;
Lib version: X.Y.Z
Steps To Reproduce
- Just update the angular application to version 9.
My current application dependencies:
"dependencies": {
"@angular/animations": "^9.0.4",
"@angular/cdk": "^9.1.0",
"@angular/common": "^9.0.4",
"@angular/compiler": "^9.0.4",
"@angular/core": "^9.0.4",
"@angular/forms": "^9.0.4",
"@angular/http": "^7.2.16",
"@angular/material": "^9.1.0",
"@angular/platform-browser": "^9.0.4",
"@angular/platform-browser-dynamic": "^9.0.4",
"@angular/router": "^9.0.4",
"@asymmetrik/angular2-leaflet": "^2.2.1",
"@auth0/angular-jwt": "^4.0.0",
"@ngx-lite/input-switch": "^0.3.3",
"@types/geojson": "^7946.0.7",
"@types/leaflet": "^1.5.9",
"ag-grid-angular": "^22.1.1",
"ag-grid-community": "^22.1.1",
"angular2-jwt": "0.2.3",
"angular2-multiselect-dropdown": "^4.6.3",
"bootstrap": "^4.4.1",
"chart.js": "^2.9.3",
"chartjs-plugin-annotation": "^0.5.7",
"chartjs-plugin-labels": "^1.1.0",
"chartjs-plugin-title-click": "^1.0.0",
"core-js": "^3.6.4",
"exceljs": "^3.8.0",
"file-saver": "^2.0.2",
"jquery": "^3.4.1",
"leaflet": "^1.3.4",
"leaflet-extra-markers": "^1.2.1",
"ng2-charts": "^2.3.0",
"ng2-sticky-nav": "^6.1.0",
"ngx-bootstrap": "^5.3.2",
"ngx-mat-select-search": "^2.1.1",
"ngx-pagination": "^5.0.0",
"ngx-toggle-switch": "^2.0.5",
"node-sass": "^4.13.1",
"rxjs": "^6.5.4",
"xlsx": "^0.15.5",
"zone.js": "^0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.900.4",
"@angular/cli": "^9.0.4",
"@angular/compiler-cli": "^9.0.4",
"@angular/language-service": "^9.0.4",
"@types/jasmine": "^3.5.7",
"@types/jasminewd2": "^2.0.8",
"@types/node": "^13.7.6",
"codelyzer": "^5.2.1",
"jasmine-core": "^3.5.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "^4.4.1",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^2.1.1",
"karma-jasmine": "^3.1.1",
"karma-jasmine-html-reporter": "^1.5.2",
"protractor": "^5.4.3",
"ts-node": "^8.6.2",
"tslint": "^6.0.0",
"typescript": "~3.7.5"
}
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:15
Top Results From Across the Web
Angular versioning and releases
We update peer dependencies in minor versions by expanding the supported versions, but we do not require ... Patch release, Low risk, bug...
Read more >Angular 8+ and 9-next Bugs Fixes with Ivy Render - Medium
Angular 9 is more powerful. Angular 8+ and 9-next Bugs Fixes with Ivy Render. Version 9-Next. Bug Fixes. core: update migration descriptions ...
Read more >NG Bootstrap - npm
See Angular browser support and Bootstrap browser support for more details. ... support questions as we want to keep GitHub issues for bug...
Read more >Angular 9 Issue: Unable to run the initial application
Below solution work for me: It looks like it is a cache error. Reinstalling Angular CLI after ...
Read more >Angular 9's Best Hidden Feature: Strict Template Checking
What if Angular could find bugs in our existing code? ... These differences help us see where Angular 9 can detect additional errors...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
“types”: [“node”]. Add this to tsconfig.app.json file. Worked for me.
I added paths in tsconfig.app.json