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

[Bug] "View all" nodes results in an error #13

Open
Bomret opened this issue May 21, 2024 · 0 comments
Open

[Bug] "View all" nodes results in an error #13

Bomret opened this issue May 21, 2024 · 0 comments

Comments

@Bomret
Copy link

Bomret commented May 21, 2024

When trying to "view all" nodes in the VS Code extension, VS code reports an error in the Flyde extension.

Clicking this button:
Screenshot 2024-05-21 at 11 46 24

Leads to this error message:
Screenshot 2024-05-21 at 11 46 33

This is the entry from the log:

2024-05-21 11:36:58.383 [error] TypeError: Cannot read properties of undefined (reading 'executionId')
    at Socket.<anonymous> (/Users/moi/.vscode/extensions/flyde.flyde-vscode-0.62.0/node_modules/@flyde/remote-debugger/dist/setup-server.js:138:41)
    at Socket.emit (node:events:517:28)
    at Socket.emit (node:domain:489:12)
    at Socket.emitUntyped (/Users/moi/.vscode/extensions/flyde.flyde-vscode-0.62.0/node_modules/socket.io/dist/typed-events.js:69:22)
    at /Users/moi/.vscode/extensions/flyde.flyde-vscode-0.62.0/node_modules/socket.io/dist/socket.js:704:39
    at processTicksAndRejections (node:internal/process/task_queues:77:11)

This is the line in the code that is the culprit of the problem:

// setup-server.js, line 138
const executionId = data[0].executionId; // this assumes all events in the batch are from the same execution. TODO - check this assumption

Looks like this assumption is invalid 😉

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

1 participant