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

SerialPort.list no longer takes a callback error #359

Open
kf106 opened this issue Oct 6, 2023 · 0 comments
Open

SerialPort.list no longer takes a callback error #359

kf106 opened this issue Oct 6, 2023 · 0 comments

Comments

@kf106
Copy link

kf106 commented Oct 6, 2023

OS: Ubuntu 20.04
Node: 14.19.1
python: 2.7.18
pip: 20.3.4
pyserial: 3.5

Following the install, build and run dev instructions does start the Electron desktop app.

A firmware file can be selected, and terminal reports "partitions CSV file successfully processed"

However, the "select ESP32 board" dropdown has nothing to select, and the following errors occur in the terminal:

┏ Electron -------------------

  Debugger listening on ws://127.0.0.1:5858/3dce3487-711b-4218-9092-0d5978de6973
  For help see https://nodejs.org/en/docs/inspector
  
┗ ----------------------------

┏ Electron -------------------

  (node:740176) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: app.whenReady is not a function
  (node:740176) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
  
┗ ----------------------------

┏ Electron -------------------

  Unable to install `vue-devtools`: 
   Error: Exited with code 9
      at ChildProcess.eval (webpack:///./node_modules/cross-unzip/index.js?:38:21)
      at emitTwo (events.js:126:13)
      at ChildProcess.emit (events.js:214:7)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
  
┗ ----------------------------

┏ Electron -------------------

  (node:740176) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: SerialPort.list no longer takes a callback and only returns a promise
  
┗ ----------------------------


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

1 participant