I am trying to use ngx-chips for tag-input, but I am having this issue with importing BrowserAnimationsModule.
On importing BrowserAnimationsModule, I get the error below:
An unhandled exception occurred while processing the request.
NodeInvocationException: document is not defined
ReferenceError: document is not defined
Once I comment BrowserAnimationsModule in import under app.module.shared.ts, my app works normal but once I uncomment it, I come up with the same error.
Please how can I trash this, I have been working on this for more than 4days. Or suggest any other angular 4 tag-input library I am using ASP.NET Core 2 SPA Template.
Thanks...
In your view's (Index.cshtml) app tag, replace the asp-prerender-module
with asp-ng2-prerender-module
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With