#Angular CLI Error while creating component.

2 messages · Page 1 of 1 (latest)

torn magnet
#

Hey everyone, I just installed the last LTS version from Node.JS, then the Angular CLI and everytime that a I try to create a component in an angular project I run into the same Error:

A collection and schematic is required during execution.

If I check the Angular CLI version all seems OK:

Node: 16.17.1
Package Manager: npm 8.15.0
OS: win32 x64

Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1402.4 (cli-only)
@angular-devkit/core         14.2.4 (cli-only)
@angular-devkit/schematics   14.2.4 (cli-only)
@schematics/angular          14.2.4 (cli-only)```

Any idea to fix this issue?
drowsy ridge