I tried to check the angular version of the project I'm working on by doing ng version
but the value I'm getting are the ff:
Angular CLI: 8.2.1
Node: 10.16.0
OS: win32 x64
Angular: undefined
how do I know what version of my angular?
I tried to check the angular version of the project I'm working on by doing ng version
but the value I'm getting are the ff:
Angular CLI: 8.2.1
Node: 10.16.0
OS: win32 x64
Angular: undefined
how do I know what version of my angular?
This is because as of Angular 7, the version of Angular core and Angular CLI need to be aligned, so their versions are likely to be the same. As your version is above 7, there is no explicit need to mention Angular Version seeing that Angular CLI version is already mentioned. Source: https://angular.io/guide/releases
It sounds like you are running this command outside the Angular project folder where there is no package.json or angular.json