Closed
Description
Please provide us with the following information:
OS?
Mac OSX El Capitan 10.11.4
Versions.
angular-cli: 1.0.0-beta.21
node: 6.7.0
os: darwin x64
Repro steps.
- Create new project with ng new my-app
- Create a new folder inside src/app (e.g. src/app/modules)
- Go to new folder (cd src/app/modules)
- Create new module (ng g module core)
The log given by the failure.
Invalid path: "/src/app/modules/modules"" is not a valid path.
Mention any other details that might be useful.
To summarise this issue. While creating a new module the cli tries to go into the same folder again, if the module is created deeper than /src/app. Creating an module inside /src/app works as expected.
Thanks! We'll be in touch soon.