-
Notifications
You must be signed in to change notification settings - Fork 12k
NG CLI 6: ng generate put files in wrong place #10672
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
Comments
Same as #10653 |
This is also happening on my machine. |
A PR that is part of 6.0.1 will hopefully address this issue. @matheusdavidson can you please verify this one too? |
Sure, i”ll try that, thanks |
@Brocco, its working with 6.0.1, thank you! |
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. |
Versions
Repro steps
Step 1
Generate a new app:
ng new angular --routing
Step 2
run:
ng g module --routing test
Observed behavior
Files are generated in the wrong place, lets say your project root is:
/var/www/project
Module
test
gets generated in:/var/www/project/var/www/project/test
Desired behavior
Expected
test
module to be generated in the right place:/var/www/project/src/app/test
Mention any other details that might be useful (optional)
I'm running latest NG 6, with latest NG CLI 6 on a MacOS High Sierra, other projects with NG 5 and NG CLI 1.7.4 works as expected
The text was updated successfully, but these errors were encountered: