Skip to content

Cannot read properties of undefined (reading options.e2ee.keyProviderOptions) #380

@httpstersk

Description

@httpstersk

Hey 👋

I have updated the @livekit/rtc-node library to the latest version: 0.13.0 and I get the following error from the Render console:

file:///home/appuser/node_modules/@livekit/rtc-node/dist/room.js:246
            ratchetSalt: options.e2ee.keyProviderOptions.ratchetSalt,
                                      ^
TypeError: Cannot read properties of undefined (reading 'keyProviderOptions')
    at Room.connect (file:///home/appuser/node_modules/@livekit/rtc-node/dist/room.js:246:39)
    at async JobContext.connect (file:///home/appuser/node_modules/@livekit/agents/dist/job.js:100:5)
    at async initializeAgent (file:///home/appuser/dist/agent.js:97:5)
    at async entry (file:///home/appuser/dist/agent.js:160:25)

A downgrade to 0.12.2 has helped.

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