Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

TypeError: Cannot read property 'off' of undefined #121

Open
khodabandelu opened this issue Apr 4, 2018 · 0 comments
Open

TypeError: Cannot read property 'off' of undefined #121

khodabandelu opened this issue Apr 4, 2018 · 0 comments

Comments

@khodabandelu
Copy link

khodabandelu commented Apr 4, 2018

I run my angular project's with server side rendering angular and I encountered the following error after running the project. If it worked properly before run with server side rendering.

TypeError: Cannot read property 'off' of undefined
at Select2Component.ngOnDestroy (H:\Workspace\WNode\gateway\node_modules\ng2-select2\ng2-select2.component.js:76:22)
at callProviderLifecycles (H:\Workspace\WNode\gateway\node_modules@angular\core\bundles\core.umd.js:12785:18)
at callElementProvidersLifecycles (H:\Workspace\WNode\gateway\node_modules@angular\core\bundles\core.umd.js:12746:13)
at callLifecycleHooksChildrenFirst (H:\Workspace\WNode\gateway\node_modules@angular\core\bundles\core.umd.js:12729:29)
at destroyView (H:\Workspace\WNode\gateway\node_modules@angular\core\bundles\core.umd.js:14095:5)
at callViewAction (H:\Workspace\WNode\gateway\node_modules@angular\core\bundles\core.umd.js:14246:13)
at execEmbeddedViewsAction (H:\Workspace\WNode\gateway\node_modules@angular\core\bundles\core.umd.js:14184:17)
at destroyView (H:\Workspace\WNode\gateway\node_modules@angular\core\bundles\core.umd.js:14093:5)
at callViewAction (H:\Workspace\WNode\gateway\node_modules@angular\core\bundles\core.umd.js:14246:13)
at execComponentViewsAction (H:\Workspace\WNode\gateway\node_modules@angular\core\bundles\core.umd.js:14158:13)

please fix this error.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant