Skip to content
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

TypeError: Invalid event target when pre-rendering nbgTypeahead in ASP.NET Core #1593

Closed
georgiosd opened this issue May 28, 2017 · 3 comments

Comments

@georgiosd
Copy link

Unfortunately I can only offer a repro in a zip file and not plunkr but this error seems to occur when putting the simple typeahead example on a ASP.NET core project with ng 4.1.2. Going back to 4.0.3 doesn't compile the app at all.

This seems to be related to the RxJS calls in search(). If I just return an empty observable, it will compile. If I then modify the file and it gets reloaded with HMR, it works fine. If I restart the app, boom, crash.

Any ideas?

@georgiosd
Copy link
Author

Btw: I tried the sample example typeahead example with 4.1.3 and it works fine so I don't think it's because of the upgrade.

@georgiosd georgiosd reopened this May 28, 2017
@pkozlowski-opensource
Copy link
Member

I'm sorry but we are not in the position to debug your (or anyone's else) setup.... But we are ready to fix anything in this project that would prevent people working with their particular setup!

I'm afraid that you will have to dig into it more on your side. Don't hesitate to come back to us if you feel like there is anything to fix on the ng-bootstrap side. Good luck!

@georgiosd
Copy link
Author

I get it, but I'm not sure that makes a whole load of sense.

I'm a new angular2 user, trying SSR and ng-bootstrap chokes. Debugging either the SSR or ng-bootstrap is way beyond my knowledge level.

No worries, I switched to ngx-bootstrap which seems to work with SSR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants