Skip to content

ng generate <blueprint> assumes top level component is named "app" #5927

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

Closed
SanderElias opened this issue Apr 12, 2017 · 6 comments
Closed
Labels
effort2: medium (days) freq1: low Only reported by a handful of users who observe it rarely P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent severity3: broken type: bug/fix

Comments

@SanderElias
Copy link

Bug Report or Feature Request (mark with an x)

- [x ] bug report -> please search issues before submitting
- [ ] feature request

Versions.

1.0

Repro steps.

Generate an app. Manually rename 'top component'
I have done this in this repo

now generate a new component/class/whatever.

The log given by the failure.

The above steps will create an app folder, and put the generated files in there.

Desired functionality.

Files should get generated in the right place, in my sample that's the shell folder.

Mention any other details that might be useful.

I believe this line is responsible

@sumitarora sumitarora self-assigned this Apr 12, 2017
@SanderElias
Copy link
Author

@sumitarora Any progress? Is there something I can do?

@hansl
Copy link
Contributor

hansl commented Apr 25, 2017

This is a hard problem (since it's fixed in a lot of places), but fixable. @sumitarora do you need any help?

@filipesilva filipesilva added effort2: medium (days) freq1: low Only reported by a handful of users who observe it rarely P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent type: bug/fix severity3: broken labels May 5, 2017
@pkamdem
Copy link
Contributor

pkamdem commented Aug 11, 2017

@sumitarora @hansl any update on this one?

Thanks for the great work guys!

@somombo
Copy link

somombo commented Oct 5, 2017

looks like #6079 fixes this

@Brocco
Copy link
Contributor

Brocco commented Oct 30, 2017

This issue was resolved with the introduction of schematics as the "blueprint" engine for the CLI.

@Brocco Brocco closed this as completed Oct 30, 2017
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
effort2: medium (days) freq1: low Only reported by a handful of users who observe it rarely P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent severity3: broken type: bug/fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants