inspect icon indicating copy to clipboard operation
inspect copied to clipboard

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

Open BillHertzing opened this issue 1 year ago • 4 comments

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

BillHertzing avatar Jan 19 '24 02:01 BillHertzing