You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Linux main 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux
Versions.
Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:
angular-cli: 1.0.0-beta.16
node: 6.7.0
os: linux x64
Repro steps.
Was this an app that wasn't created using the CLI? What change did you do on your code? etc.
my app was created using CLI. the problem is that when I trying to execute ng build --aot the build process fails. apparently compiler has problems with any.component.css which contains:
It's easy to reproduce: create a new app with dummy component. create a separate component.css file for that component. fill component.css file with some styles.
thanx in advance!
The text was updated successfully, but these errors were encountered:
If it's in a separate file, are you definitely using styleUrls? I had a similar issue with a template when I had inlined the template, but was still using templateUrls.
OS?
Linux main 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux
Versions.
angular-cli: 1.0.0-beta.16
node: 6.7.0
os: linux x64
Repro steps.
my app was created using CLI. the problem is that when I trying to execute
ng build --aot
the build process fails. apparently compiler has problems withany.component.css
which contains:my component consists of
any.component.html
,any.component.css
,any.component.ts
.The log given by the failure.
Mention any other details that might be useful.
It's easy to reproduce: create a new app with dummy component. create a separate
component.css
file for that component. fillcomponent.css
file with some styles.thanx in advance!
The text was updated successfully, but these errors were encountered: