Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devicescript devtools --vscode terminated with exit code: 100 #611

Open
xmeow opened this issue Aug 18, 2023 · 6 comments
Open

devicescript devtools --vscode terminated with exit code: 100 #611

xmeow opened this issue Aug 18, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@xmeow
Copy link
Contributor

xmeow commented Aug 18, 2023

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 xmeow added the bug Something isn't working label Aug 18, 2023
@Nasreddine
Copy link

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

@pelikhan
Copy link
Member

we should be sniffing for unused ports...

@pelikhan
Copy link
Member

pelikhan commented Nov 6, 2023

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

@xmeow
Copy link
Contributor Author

xmeow commented Nov 7, 2023

It looks decent on latest devicescript extension build.

@xmeow xmeow closed this as completed Nov 7, 2023
@pelikhan
Copy link
Member

pelikhan commented Nov 7, 2023 via email

@reggi
Copy link

reggi commented Jan 31, 2024

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.

@pelikhan pelikhan reopened this Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants