Skip to content

WASM. error? #410

@lucas-vitrus

Description

@lucas-vitrus

I keep getting this error when using the typescript zenoh!

Failed to load Zenoh: wasm.__wbindgen_start is not a function. (In 'wasm.__wbindgen_start()', 'wasm.__wbindgen_start' is undefined)
Zenoh TS uses WASM and often fails in Node/Bun. For agent/actor Zenoh features use the Python SDK (vitrus-sdk-python). See https://github.com/eclipse-zenoh/zenoh-ts
868 |             throw new Error('Must be authenticated as this actor to broadcast');
869 |         }
870 |         await this.ensureZenohSession();
871 |         if (!this.zenohSession || !this.getZenohEndpoint()) {
872 |             if (this.zenohLoadFailed) {
873 |                 throw new Error('Zenoh could not be loaded in this runtime (WASM not supported in Node/tsx). Use the Python SDK (vitrus-sdk-python) for broadcast and agent-actor communication.');
                            ^
error: Zenoh could not be loaded in this runtime (WASM not supported in Node/tsx). Use the Python SDK (vitrus-sdk-python) for broadcast and agent-actor communication.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions