Open abebraham opened 6 years ago
I am facing the same issue, is there any update on this?
I'm facing same issue. How to solve??
I solved my problem using this.
constructor(
@Inject(PLATFORM_ID) private platformId: Object
) { }
isPlatformBrowser() {
if (isPlatformBrowser(this.platformId)) {
return true;
}
return false;
}
please try with this condition <div *ngIf="isPlatformBrowser()">your code</div>
Hope this will help you.
vikash09's resolution did not work on my project, is there any update on this????
Thank you, You saved me a lot of time. It's working fine.
I'm submitting a...
In package
Current behavior
I created a new Angular 6 application that is using a Angular Slick Carousel Plugin: https://github.com/devmark/ngx-slick.
Currently the application works fine when I run
ng serve -o
and even when I host my dist/browser/* contents in an S3 Bucket.When I try to use either @ng-toolkit/universa I get the following problem from
npm run server
(btw all I see in localhost:8080 is this ->{}
):Expected behavior
Application should compile as it does when I run
ng serve
Minimal reproduction of the problem with instructions
To reproduce the error do the following:
app.module.ts
index.html
Environment