devicescript icon indicating copy to clipboard operation
devicescript copied to clipboard

`devicescript devtools --vscode` terminated with exit code: 100

Open xmeow opened this issue 1 year ago • 6 comments

Describe the bug The devicescript service failed to start, please see the screen shoot. And hardware connection is not available. Vscode will stuck at the context, and the only way to resolve is to kill all vscode process.

To Reproduce When try to click the button 'connect device'.

Screenshots image

Additional context From the electron devtools it says that the bus is undefined at the codeline: this.extensionState.bus.setCustomServiceSpecifications

xmeow avatar Aug 18 '23 04:08 xmeow

check if following ports are not used by other processes. http : http://localhost:8081 websocket: ws://localhost:8081 tcpsocket: tcp://localhost:8082 dbgserver: tcp://localhost:8083

Nasreddine avatar Oct 22 '23 06:10 Nasreddine

we should be sniffing for unused ports...

pelikhan avatar Oct 25 '23 16:10 pelikhan

@xmeow we had an unneeded dependency on serialport. is this still failing?

pelikhan avatar Nov 06 '23 19:11 pelikhan

It looks decent on latest devicescript extension build.

xmeow avatar Nov 07 '23 13:11 xmeow

I found that I ran into this when I'd run "Connect Device" in vs code, then try to hit the play button on the debugger.

The workflow is much better to run npm run start, and then just save your main file to upload it.

reggi avatar Jan 31 '24 11:01 reggi