-
Notifications
You must be signed in to change notification settings - Fork 233
Unable to start serial monitor #918
Comments
I just ran into the exact same behavior. Upgraded to VS Code 1.40.0 and my ability to connect to the serial monitor has been broken. If you need to use the Serial monitor, you can always use the Arduino IDE instead as a workaround for that as well. |
Can't use for ESP32 and ESP32 Lora TTGO v1. So I modified arduino.json it worked to upload but when try to open Serial Monitor appears: "Failed to open serial port /dev/cu.SLAB_USBtoUART due to error: + TypeError: Cannot read property 'close' of null" seems #851 related. Aditionaly installed vscode-arduino-0.2.26.vsix version doesn't work |
same error here when upgrade to 1.4.0 |
@PeterWone Thank you for reporting this issue. We're currently investigating the root cause of this issue, probably because of the Electron and Node version upgrade in latest VS Code 1.40. |
reverting to latest-1 solves the problem (for now) |
We're currently working on a new release containing the fix to this issue, will update you once we release goes public. |
The serial port issue has been fixed in the latest Arduino extension release (0.2.28). |
Thanks for your efforts, I have tested vscode-arduino 0.2.28 with VSCode 1.40.1 and full compatibility has been restored. |
I'm still having this issue. I get the following output when opening, but no values appear
|
@aubergene The problem does not occur for
Occasionally I've had problems after updating Node that were fixed by a reboot. If you reboot and you can still reproduce the problem then maybe you have versions of Node and paths are causing the wrong version to be used, but this seems unlikely given that 12.4.0 is being reported. If all else fails then create a new issue and include the facts that it is platform specific and you have already tried these remedies. |
having the same issue with Version: 1.43.1 |
Same here. I entered port details manually in arduino.json and uploading the Get Started code to the device seemed to work fine. The next step in Get Started Docs explaining to open serial monitoring fails completely though with this unhelpful error:
Out of curiosity I fired up Windows Terminal and opened Azure Cloud Shell and used the |
Same symptoms as #851 but with 0.2.27 on VS Code 1.40.0
Same workaround -- manually edit
arduino.json
but this leaves you without Serial monitor. Better to revert VS Code to 1.39.2 and disable auto-update pending an update to this extension.Looking at the related VSCode issue pertaining to the 1.36 breakage,
It's the same problem with the same fix.
The text was updated successfully, but these errors were encountered: