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

builder-component-element: TypeError: Cannot read property 'push' of undefined #68

Closed
lyczos opened this issue Feb 10, 2020 · 1 comment
Assignees

Comments

@lyczos
Copy link
Contributor

lyczos commented Feb 10, 2020

Sometimes we are getting console error:

      this.subscriptions.push(() => subscription.unsubscribe())
TypeError: Cannot read property 'push' of undefined
  at builder-component-element.<anonymous> (../../../../src/elements.ts:526:12)
  at None (/js/webcomponents@1.0.133/dist/system/angular/lite/_tslib-dd45d077.js:1:1406)
  at Object.next (/js/webcomponents@1.0.133/dist/system/angular/lite/_tslib-dd45d077.js:1:1511)
  at None (/js/webcomponents@1.0.133/dist/system/angular/lite/_tslib-dd45d077.js:1:448)
  at new e (/polyfills-es5.67f86d0307c42298261e.js:1:225322)
...
(22 additional frame(s) were not displayed)
teleaziz added a commit to teleaziz/builder that referenced this issue Feb 13, 2020
steve8708 added a commit that referenced this issue Feb 13, 2020
fix issue #68, ensure method is bound to context
@teleaziz
Copy link
Collaborator

This issue should be fixed in latest release, please reopen if you see it again.

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

No branches or pull requests

2 participants