You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally, if you checked for stats.json first and if that doesn't exist check for stats-es2015.json and if neither exists show error. Then you could remove the need for a tsConfig and it's path.
Describe the bug
I upgraded my Angular 9 app to Angular 10.
After doing a build with
ng build --prod --stats-json
I got this error (this error didn't appear before):
I checked my dist folder and there was a
stats.json
file not astats-es2015.json
. I renamed the file tostats-es2015.json
and the error disappeared.I think you should just check for both files and use the one that exists and if neither exists show the error.
Check which provider is affected:
[] AWS
[] Azure
[] Google Cloud Platform
Check which framework is affected:
[x] Angular
[] Nodejs
[] Serverless
[] Lambda
[] Infrastructure as a code
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: