Open k11k2 opened 6 years ago
I have the same error when using this in the root component of my Angular Universal project forked from https://github.com/MarkPieszak/aspnetcore-angular2-universal
I can't say I'm familiar with AspNetCore so this is going to be a bit of a hurdle for me to verify and try to figure out. If either of you manage to figure something out please report back with more details.
Not knowing much about AspNetCore I cannot promise a fix can be integrated without breaking other compatiblity, but if it's possible I see no problem with trying to maintain compatibility with AspNetCore as well.
Help in the form of more information or a pull request would be appreciated. I may get around to looking at it but it may take quite some time.
I didn't do any thing strange just follow your demo for my angular 4.2.5 version.
Steps to reproduce:
1)Add
Service
reference to the required component and run the app. 2)Check the hotkeys functionality, works fine . 3)Refresh the browser. below error occurs.StackTrace
package.json
So what I have done is, for now disable the SSR from
index.cshtml
now working fine.