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

WebSerial Port selecting window not showing #7215

Open
dilushan opened this issue Nov 15, 2019 · 3 comments
Open

WebSerial Port selecting window not showing #7215

dilushan opened this issue Nov 15, 2019 · 3 comments

Comments

@dilushan
Copy link

dilushan commented Nov 15, 2019

I am trying to use webserial API but when requesting ports Serial (COM) port selecting window not popping up
Please refer here for a sample application
https://github.com/dilushan/webserial

My platform:
nwjs 0.40.1 with --enable-experimental-web-platform-features
windows 10

Error:

"Uncaught (in promise) NotFoundError: No port selected by the user."

please refer following issue that addressing same issue for webusb
#5418

This is woking on latest chrome without any issue

@stale
Copy link

stale bot commented Dec 25, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 25, 2020
@serra82
Copy link

serra82 commented Mar 2, 2024

I have the same problem with:
nwjs 0.84.0 with --enable-experimental-web-platform-features

@stale stale bot removed the stale label Mar 2, 2024
@bswanwick
Copy link

I confirm this issue still exists in version 0.93.0. It does not exist in 0.72.0. I'm on Windows 11. I am able to call navigator.serial.requestPort() in 0.72 and the Chrome dialog appears to select a COM port. But in version 0.93, I get error: NotFoundError: Failed to execute 'requestPort' on 'Serial': No port selected by the user.

No dialog appears. Somewhere between 0.72 and 0.84 (see comment above) we have breaking change to navigator.serial API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants