Когда я пытаюсь использовать команду для создания компонента "ng g c new-component", появляется эта ошибка:
node.exe : The generate command requires to be run in an Angular project, but a project definition could not be found.
En C:\Users\luisfe.moreno\AppData\Roaming\npm\ng.ps1: 15 Carácter: 3
+ & "node$exe" "$basedir/node_modules/@angular/cli/bin/ng" $args
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (The generate co...d not be found.:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Angular версия
Angular CLI: 9.0.3
Node: 12.16.1
OS: win32 x64
Angular:
...
Ivy Workspace:
Package Version
------------------------------------------------------
@angular-devkit/architect 0.900.3
@angular-devkit/core 9.0.3
@angular-devkit/schematics 9.0.3
@angular/cli 9.0.3
@schematics/angular 9.0.3
@schematics/update 0.900.3
rxjs 6.5.3
Asp базовая версия:
PM> dotnet --list-sdks
2.1.202 [C:\Program Files\dotnet\sdk]
2.1.402 [C:\Program Files\dotnet\sdk]
2.1.801 [C:\Program Files\dotnet\sdk]
3.0.100-preview8-013656 [C:\Program Files\dotnet\sdk]
3.1.101 [C:\Program Files\dotnet\sdk]