error TS7016: Could not find a declaration file for module '@angular/common/locales/xx_XX" angular 5.1.2
See original GitHub issueI’m submitting a…
[X] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior
I updated my project to 5.1.2 and when I try to compile the project I’m getting an error message because the declarations files for the locales are missing and typescript won’t compile.
Expected behavior
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Environment
Angular version: X.Y.Z
Angular 5.1.2
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX
- Platform:
Others:
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:9 (5 by maintainers)
Top Results From Across the Web
No results found
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 Free
Top 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
we will not cut an npm release until after holidays, so if you are affected by this regression you can in the meantime get a build from our CI using
yarn upgrade angular/common-builds#5.1.x
(works with npm as well) which will pull it from https://github.com/angular/common-builds/tree/5.1.x (the build will be there after https://travis-ci.org/angular/angular/builds/320557745 or later job completes)@davidcruy the documentation should not be changed, it’s a regression and we will revert this, thanks for reporting