Skip to content

Property 'document' doesn't exist - Regression in 2.1.4 #441

Closed
@kamui545

Description

@kamui545

Echo Version

2.1.4

Laravel Version

12.0.9

PHP Version

8.4.7

NPM Version

10.9.2

Database Driver & Version

No response

Description

We’re encountering a regression in our React Native app, where it throws the following error:

ReferenceError: Property 'document' doesn't exist

Version with regression: [email protected]
I do believe that the following PR from @joetannenbaum is the cause: #434

I guess we could just revert the changes from: packages/laravel-echo/src/connector/connector.ts and it should work properly.

Thank you!

Steps To Reproduce

I can share a React Native app repository, but setting up all the necessary tools might be a hassle for the maintainers. Let me know if it's absolutely necessary.

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