-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Angular-CLI 14.0.0-rc.0 failed to generate new component #23141
Comments
I'm sorry, but we can't reproduce the problem following the instructions you provided. Can you setup a minimal repro please? You can read here why this is needed. A good way to make a minimal repro is to create a new app via This might be related to your directory structure so its really important to get an accurate repro to diagnose this. |
I just experienced the same error. My repo is here https://github.com/dzhavat/angular-standalone-components Running |
I repro my repo also here https://github.com/s-triar/repro-ng-14-cli-failed-g-comp |
Previously, the errors were JSON stringified (https://github.com/angular/angular-cli/blob/main/packages/angular/cli/lib/cli/index.ts#L80) which caused them not to be displayed correctly. Closes angular#23141
Previously, the errors were JSON stringified (https://github.com/angular/angular-cli/blob/main/packages/angular/cli/lib/cli/index.ts#L80) which caused them not to be displayed correctly. Closes angular#23141
Previously, the errors were JSON stringified (https://github.com/angular/angular-cli/blob/main/packages/angular/cli/lib/cli/index.ts#L80) which caused them not to be displayed correctly. Closes angular#23141
When I change the file according to f2764c6 it happened because there is more than 1 module. |
Previously, the errors were JSON stringified (https://github.com/angular/angular-cli/blob/main/packages/angular/cli/lib/cli/index.ts#L80) which caused them not to be displayed correctly. Closes #23141
Previously, the errors were JSON stringified (https://github.com/angular/angular-cli/blob/main/packages/angular/cli/lib/cli/index.ts#L80) which caused them not to be displayed correctly. Closes #23141 (cherry picked from commit f00da00)
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, the previous version in which this bug was not present was:I don't know. the tutorial angular 14 especially for a standalone component on youtube shows that the angular-cli is working perfectly.
Description
After run
npm i -g @angular/cli@next
to trying angular 14 RC, the angular-cli is failed to generate component usingng g component <name-component>
🔬 Minimal Reproduction
I am using windows 10.
npm i -g @angular/cli@next
ng new <name-project>
ng g component <name-component>
below is the package.json I am currently using.
🔥 Exception or Error
🌍 Your Environment
The text was updated successfully, but these errors were encountered: