-
Notifications
You must be signed in to change notification settings - Fork 359
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
Angular universal give me errors #740
Comments
Hi @KromPass, |
Hi @Gbuomprisco, i'm tried this solution but not work. In tag.component.ts line 20 there are this
do you think it is possible to implement a check for angular universal in the plugin? More info: i use AOT for build |
Do you have a public repository i can try it on? |
I have the same problem (window is not defined), I managed to get around it in a previous version but don't remember how! I use this as my starting template: https://github.com/MarkPieszak/aspnetcore-angular2-universal is there a workaround / hack to get things working again? |
use this repo for test https://github.com/KromPass/ngx-test-universal
|
Hi @Gbuomprisco you have news for support us? |
Sorry haven't had a chance yet |
One way to fix this issue is to use
webpack-node-externals - https://www.npmjs.com/package/webpack-node-externals |
Hi there, |
Hi there, still looking for solutions. |
I've made my own now. it's essentially an input with tags inline, and an auto complete dropdown (also easy to make). Once you make a start you'll realise how easy it actually is! Just remember to use Renderer2 to make changes to the DOM. |
Hello guys, I have the same problem. anyone has any valid solution for this issue. |
I am also getting the same error when execute npm run serve:ssr command in angular cli this is related to ngx-chips module (v2.1.0). (SSR with Angular 9 Universal) const DragEvent = window.DragEvent; ReferenceError: window is not defined |
I'm submitting a support request.
In your code I found this
but after my compiling my console of node server write this
There are solutions?
thanks
The text was updated successfully, but these errors were encountered: