Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type Error during incremental compilation #3

Closed
stefanocke opened this issue Jul 30, 2019 · 3 comments
Closed

Type Error during incremental compilation #3

stefanocke opened this issue Jul 30, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@stefanocke
Copy link
Owner

Probably introduced with Angular 8.1.2 ?

TypeError: Cannot read property 'has' of null
    at C:\Java\github\angular-cli-app-with-rollup\node_modules\@angular\compiler-cli\src\ngtsc\incremental\src\state.js:120:84
    at Array.some (<anonymous>)
    at IncrementalState.hasChangedResourceDependencies (C:\Java\github\angular-cli-app-with-rollup\node_modules\@angular\compiler-cli\src\ngtsc\incremental\src\state.js:120:18)
    at IncrementalState.safeToSkip (C:\Java\github\angular-cli-app-with-rollup\node_modules\@angular\compiler-cli\src\ngtsc\incremental\src\state.js:70:57)
    at IvyCompilation.analyze (C:\Java\github\angular-cli-app-with-rollup\node_modules\@angular\compiler-cli\src\ngtsc\transform\src\compilation.js:156:39)
    at IvyCompilation.analyzeSync (C:\Java\github\angular-cli-app-with-rollup\node_modules\@angular\compiler-cli\src\ngtsc\transform\src\compilation.js:71:76)
    at C:\Java\github\angular-cli-app-with-rollup\node_modules\@angular\compiler-cli\src\ngtsc\program.js:257:39
    at Array.forEach (<anonymous>)
    at NgtscProgram.ensureAnalyzed (C:\Java\github\angular-cli-app-with-rollup\node_modules\@angular\compiler-cli\src\ngtsc\program.js:255:22)
    at NgtscProgram.getNgSemanticDiagnostics (C:\Java\github\angular-cli-app-with-rollup\node_modules\@angular\compiler-cli\src\ngtsc\program.js
@stefanocke stefanocke added the bug Something isn't working label Jul 30, 2019
@stefanocke
Copy link
Owner Author

see angular/angular#31322

@stefanocke
Copy link
Owner Author

Fix seems not to be included in 8.1.3

stefanocke added a commit that referenced this issue Jul 30, 2019
@stefanocke
Copy link
Owner Author

stefanocke commented Jul 30, 2019

8.2.0-rc.0 fixes the original bug but there are two (new?) issues now:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant