Please provide us with the following information:
Environment :
Windows 10
angular-cli: 1.0.0-beta.14
node: 6.3.1
os: win32 x64
ng new newapp.mkdir app/feature && cd app/featureng g component my-componentModule not found: Error: Can't resolve './feature
egister-form/register-form.component' in 'E:\Dev\Learning\shooping-angular2\src\app'
Details : On Windows, in the app.module.ts, the path is created using a backslash as first char after the current path.
import { RegisterFormComponent } from './feature\register-form/register-form.component';
should become:
import { RegisterFormComponent } from './feature/register-form/register-form.component';
Same here
angular-cli: 1.0.0-beta.11-webpack.8
node: 6.5.0
os: win32 x64
The issue is still there with the cli beta 15
angular-cli: 1.0.0-beta.15
node: 4.4.6
os: win32 x64
Anybody looking into it?
It'd be really nice if we could get a quick response from the team acknowledging this issue. This isn't some breaking bug, but given the cross-platform nature, proper path generation is more an expected functionality than a nice to have feature.
Dupe of https://github.com/angular/angular-cli/issues/1719, already fixed.
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._
Most helpful comment
Dupe of https://github.com/angular/angular-cli/issues/1719, already fixed.