Skip to content

Visual Studio Code Extension Development, inspector produces 'Window does not exist; inspector cannot be started.' #4

Description

@BillHertzing

statelyai/inspect produces the message "Window does not exist; inspector cannot be started.'

const primaryMachineInspector = createBrowserInspector(); // This line produces the errorMessage

I am developing a Visual Studio Code Extension, xState is running in a VSC Development Host.

package.json: (// relevant entries)
"dependencies": {
"@statelyai/inspect": "^0.2.0",
"bufferutil": "^4.0.8",
"utf-8-validate": "^6.0.3",
"xstate": "^5.5.1"

Also, after installing inspect, WebPack reported two missing packages bufferutil and utf-8-validate. I installed those manually, but it did not resolve the problem.

VSC Version :
image

Windows Version:
image

Please let me know if I can supply any additional information. I'm also on the Discord Stately server as BaslimOfJubbul

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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