-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cannot read property '0' of undefined #18
Comments
I am guessing the exception is on this line cross-origin-message-bus/src/index.ts Line 338 in 86c3fb9
|
I don't think the exception can come from the destructuring assignment you linked because in Chromium, destructuring
and indexing
|
Hum this is interesting... This is the actual executing minified js: child.on('response', function (data) {
var k = data[0], v = data[1];
// log.info("Received response for msg_id:", k );
var _a = _this.responses[k], f = _a[0], r = _a[1];
if (v instanceof Error)
r(v);
else
f(v);
delete _this.responses[k]; And I thought that the |
Gotcha. That seems to imply that |
Yeah I don't know... I did a console.log on data and it never showed undefined. But still this is what I'm getting... Let's see if others get the same when this becomes more used. |
When calling a zome function, this error occurs:
following the trail it's because of this line:
cross-origin-message-bus/src/index.ts
Line 205 in 86c3fb9
This is a bit weird, because the app continues to work, and all the zome functions that we call do return something.
The text was updated successfully, but these errors were encountered: