-
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
Invalid path when generating a module inside a sub directory #3063
Comments
The The problem happens because the The CLI breaks with error So, you'll have to create the |
I take that back. This is not the same problem. It's also not #2756, which is about the 2-word component names. It happens with single word names as well. It seems the
|
It's worth mentioning this is NOT I can reproduce it in beta.19-3 as follows:
|
For the record: I tried this now against master (f815228 at the moment), and it's still happening in it. |
I think I found the offending line of code: To generate a component, it runs:
Note this line:
If you change it to:
It works! @Brocco if this sounds good, I can make the change and add a test in a new PR. |
OK, so the PR that fixes this was marked as ready for merge. I'm not 100% sure of the merge frequency in this repo, so for now, the workaround is to ignore the error, and repeat the exact command with Like:
|
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. |
OS?
Versions.
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
angular-cli: 1.0.0-beta.19-3
node: 6.3.0
os: linux x64
Repro steps.
The log given by the failure.
ng g module shared/some-feature
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
installing module
create src/app/shared/some-feature/some-feature.module.ts
installing component
Invalid path: "/home/vagrant/workspace/ss-angular-cli-starter/src/app/some-feature"" is not a valid path.
Mention any other details that might be useful.
I have tried generating the module with different scenarios in different folder names but the issue persists.
The text was updated successfully, but these errors were encountered: