Skip to content

undefined is not a constructor (evaluating 'new window.WebSocket('ws://' + hostname+':'+port+'/devtools')') #12947

@konstantin-mohin

Description

@konstantin-mohin

Hey,

I'm using RN 0.39.0 and it was working fine, but yesterday I started getting this error: "undefined is not a constructor (evaluating 'new window.WebSocket('ws://' + hostname+':'+port+'/devtools')')" , it points to the setupDevtools.js:25 file.

Im using a real android device and if I turn on Debug JS Remotely option the issue disappears.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions