ngc error: Error: Compilation failed. Resource file not found: /Users/it/Desktop/Zaki/MOCI-Ionic/.tmp/pages/page1/page1.css
styleUrls: [‘page1.css’] // i also tried using ‘page1.scss’ and putting it in the same folder
This error only shows when i try to run on android/ios device, but it works well on web.
Anyone got an idea why is this happening or how to fix it ?
I’m also experiencing this, in my case .html files are not loading. any solution? anyone?
migrated to RC0 “ionic run android” command has broken.
[12:22:03] ionic-app-scripts 0.0.28
[12:22:03] build prod started ...
[12:22:03] clean started ...
[12:22:03] clean finished in 50 ms
[12:22:03] copy started ...
[12:22:03] ngc started ...
[12:22:04] lint started ...
[12:22:07] copy finished in 3.43 s
[12:22:17] lint finished in 13.78 s
[12:22:36] ngc error: Error: Compilation failed. Resource file not found: g:/Projects/room-1.html
at Object.get (g:\Projects\#Ongoing\POSclient\node_modules\@angular\compiler-cli\src\codegen.js:123:27)