-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Nativescript 8 and Angular 12 not running when using @Component{styleUrls}. #19
Comments
@boutier did you try the workaround on that issue? |
[In short: Yes, it doesn't change anything.] Well, before your answer, I obviously tried it but with an extra line (if it was stupid, please teach me why!):
So, just to be sure, I copy paste the exact code you provided: at first start, "tada! It worked". But only at first start. Subsequent calls to Did you tried and succeed to reproduce with the steps above? |
I haven't tried the demo app yet, but I do have a couple of apps with custom styleUrls on AppComponent and they're all working fine on latest. You can try 2 things:
|
Ah ah! Using
Both seems required. Is there a simple explanation to what's going on? Many thanks! |
Seems like a non-clean environment. Try running |
Well… I feel quite uncomfortable. As I wrote in the comment above (#19 (comment)) : « Subsequent calls to That said, everything is now working fine everywhere, so I'm confused. Maybe because I may have removed manually the app from the iPhone? Could you also explain me why adding |
@boutier the workaround is no longer required with the latest webpack. Answering your question, the |
Environment
% ns info
✔ Getting NativeScript components versions information...
✔ Component nativescript has 8.0.2 version and is up to date.
✔ Component @nativescript/core has 8.0.8 version and is up to date.
✔ Component @nativescript/ios has 8.0.0 version and is up to date.
Angular / Nativescript Angular: 12.0.5
Describe the bug
When having
styleUrls: ['./side-drawer.scss'],
onAppComponent
, Angular does not start, i.e. it hangs just before it should prompt the following log (but it doesn't).To Reproduce
Expected behavior
App should start!
Related issues
Might be related to #6
Certainly duplicate of NativeScript/nativescript-angular#2352 (it seems people keep posting issues in the wrong place — maybe could you put a message somewhere to redirect them; in the issue template?)
The text was updated successfully, but these errors were encountered: