x)- [x ] bug report -> please search issues before submitting
- [ ] feature request
@angular/cli: 1.3.0
node: 6.11.0
os: win32 x64
i run ng serve
i have change multiple times to change the name but the bug is the same i use vscode
webpack: Compiled with warnings.
webpack: Compiling...
Date: 2017-08-17T20:49:31.559Z
Hash: 7c759f83758f4cb549a5
Time: 1680ms
chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 5.83 kB [entry]
chunk {main} main.bundle.js, main.bundle.js.map (main) 249 kB {vendor} [initial]
chunk {polyfills} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 204 kB {inline} [initial]
chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 47.1 kB {inline} [initial]
chunk {vendor} vendor.bundle.js, vendor.bundle.js.map (vendor) 5.15 MB [initial]
WARNING in ./src/app/Admin/BRANDS/edit-brand/edit-brand.component.ts
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\node_modules\@ngtools\webpack\src\index.js!C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\src\app\Admin\BRANDS\edit-brand\edit-brand.component.ts
Used by 1 module(s), i. e.
C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\node_modules\@ngtools\webpack\src\index.js!C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\src\app\Admin\BRANDS\admin-brands\admin-brands.component.ts
* C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\node_modules\@ngtools\webpack\src\index.js!C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\src\app\Admin\Brands\edit-brand\edit-brand.component.ts
Used by 1 module(s), i. e.
C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\node_modules\@ngtools\webpack\src\index.js!C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\src\app\app.module.ts
WARNING in ./src/app/Admin/BRANDS/edit-brand/edit-brand.component.html
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\node_modules\raw-loader\index.js!C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\src\app\Admin\BRANDS\edit-brand\edit-brand.component.html
Used by 1 module(s), i. e.
C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\node_modules\@ngtools\webpack\src\index.js!C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\src\app\Admin\BRANDS\edit-brand\edit-brand.component.ts
* C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\node_modules\raw-loader\index.js!C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\src\app\Admin\Brands\edit-brand\edit-brand.component.html
Used by 1 module(s), i. e.
C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\node_modules\@ngtools\webpack\src\index.js!C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\src\app\Admin\Brands\edit-brand\edit-brand.component.ts
WARNING in ./src/app/Admin/BRANDS/edit-brand/edit-brand.component.css
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\node_modules\exports-loader\index.js?module.exports.toString()!C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\node_modules\css-loader\index.js??ref--4-1!C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\node_modules\postcss-loader\index.js??postcss!C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\src\app\Admin\BRANDS\edit-brand\edit-brand.component.css
Used by 1 module(s), i. e.
C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\node_modules\@ngtools\webpack\src\index.js!C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\src\app\Admin\BRANDS\edit-brand\edit-brand.component.ts
* C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\node_modules\exports-loader\index.js?module.exports.toString()!C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\node_modules\css-loader\index.js??ref--4-1!C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\node_modules\postcss-loader\index.js??postcss!C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\src\app\Admin\Brands\edit-brand\edit-brand.component.css
Used by 1 module(s), i. e.
C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\node_modules\@ngtools\webpack\src\index.js!C:\Users\George35mk\Documents\GitHub\ATLABIZ\DND-java-angular4\FRONTEND\src\app\Admin\Brands\edit-brand\edit-brand.component.ts
webpack: Compiled with warnings.
ok, I fixed after 5 Hours but How ??
in generating one more module with defriend name like
the old component was
ng g c dial-edit-brand
I make new with this name
ng g c dial-ed-brand
but again I have the same problem after that inside my code I press enter sometimes and I change the lines of the code and voila this fix my problem
I thing this is vs code problem is cashing the files and is not delete some files
I hope this helps somebody
I wrongly casing the name of the import file with capital letter :
import { ValidateService } from './services/Validate.service';
after i change to small letter (the file name is in small letter ) :
import { ValidateService } from './services/validate.service';
the problem dissapear.
好意外,还真是字母大小写的问题,之前看的问题解答,都说是字母大写了,需要变为小写,而我这个这个是相反,但是确实也属于字母的大小写问题,解决了。
This problem will disappear when we replace the Capital case letters with small case letters in the import file path.
@JayavardhanV welcome to the club
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
I wrongly casing the name of the import file with capital letter :
import { ValidateService } from './services/Validate.service';
after i change to small letter (the file name is in small letter ) :
import { ValidateService } from './services/validate.service';
the problem dissapear.