-
Notifications
You must be signed in to change notification settings - Fork 12k
Generators putting a backward slash in import path on Windows #2181
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
Just reproduced this. As for the cause, I think we can pinpoint the generate command as the source. It will work fine if you enter |
Fixed in #1719 |
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. |
Windows 10
ng --version
. If there's nothing outputted, please runin a Terminal:
node --version
and paste the result here:angular-cli: 1.0.0-beta.14
node: 6.3.1
os: win32 x64
do on your code? etc.
Have a dir in the
<project>/src/app
namedprofile
.With the current directory as the top level dir of the project, in the command/terminal run
ng g c profile/profile-tray
to generate a new component named
ProfileTrayComponent
within a dir namedprofile
.Look in the
app.module.ts
file and see the resulting import statement ofimport { ProfileTrayComponent } from './profile\profile-tray/profile-tray.component';
more information.
The text was updated successfully, but these errors were encountered: