angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Can't generate files after renaming of the top component (app)

Open ghost opened this issue 10 years ago • 8 comments

OS: Windows 10

Version: 1.0.0-beta.20-4

ng g component test installing component Invalid path: ...\src\app"" is not a valid path.

ghost avatar Nov 18 '16 15:11 ghost

Having the same issue

In Angular-cli "root": "src/main/app",

ng g component test installing component Invalid path: "/Users/mat/idea/project/src/main/app/app"" is not a valid path.

lordmat0 avatar Nov 19 '16 19:11 lordmat0

@Brocco this seems related to generators, maybe auto-adding the imports. Can you have a look?

filipesilva avatar Dec 22 '16 18:12 filipesilva

@carttrac & @lordmat0 are you still experiencing this issue?

Brocco avatar Feb 10 '17 04:02 Brocco

I have not heard any feedback whether this is still an issue. Can you please confirm whether you are still experiencing this issue or not? Thanks!

Brocco avatar Feb 21 '17 03:02 Brocco

Sorry for the delay, will check in the next few days

On 21 Feb 2017 03:09, "Mike Brocchi" [email protected] wrote:

I have not heard any feedback whether this is still an issue. Can you please confirm whether you are still experiencing this issue or not? Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/angular/angular-cli/issues/3194#issuecomment-281233222, or mute the thread https://github.com/notifications/unsubscribe-auth/AEvu4ZtgALD6kvKZbnzkU60ImGkmdXTYks5relVcgaJpZM4K2lU2 .

lordmat0 avatar Feb 21 '17 07:02 lordmat0

I tried changing to src/main2 which worked correctly with generating so you can close. Thank you!

lordmat0 avatar Mar 01 '17 12:03 lordmat0

Thanks, glad everything is working for you!

Brocco avatar Mar 02 '17 04:03 Brocco

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.