Open AntonyChiossi opened 3 years ago
@AntonyChiossi would you share a minimal reproduction? The shared information would not be sufficient to see what's going on.
I am having the same issue. Angular Dev Tools is not working on my development environment, and I am using Angular 12.2.0. I am attaching a screenshot of the issue.
Same issue since I update my project from 11.x to 12.2.x. I'm not building in prod configuration, but my devtools detect a production build.
EDIT : I fixed this issue. In angular.json, juste specify "optimization": false in your dev build options. Before Angular 12, it wasn't mandatory. Don't forget to set it to true in your production build.
see : https://angular.io/guide/workspace-config#optimization-configuration
Hi this issue is similar to https://github.com/rangle/angular-devtools/issues/868.
angular.json (cant share it all)
architect.build.options
:architect.conficurations.dev
:I tried with and without default.
By launching ng serve (i have to use ssl) with and without the conf:
ng serve --ssl
ng serve --configuration dev --ssl
the result is the same:
ng version