Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Failed to open serial port due to error #1199

Closed
rrakso opened this issue Feb 8, 2021 · 1 comment
Closed

Failed to open serial port due to error #1199

rrakso opened this issue Feb 8, 2021 · 1 comment

Comments

@rrakso
Copy link
Contributor

rrakso commented Feb 8, 2021

Issue Type: Bug

I've just wanted to open serial monitor - then I got this error message:

Failed to open serial port /dev/ttyUSB0 due to error: + Error: The module '/home/{user}/.vscode/extensions/vsciot-vscode.vscode-arduino-0.3.4/out/node_modules/usb-detection/build/Release/detection.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 80. This version of Node.js requires
NODE_MODULE_VERSION 85. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).

Extension version: 0.3.4
VS Code version: Code 1.53.0 (8490d3dde47c57ba65ec40dd192d014fd2113496, 2021-02-03T15:56:04.185Z)
OS version: Linux x64 5.8.0-41-generic snap

System Info
Item Value
CPUs Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz (8 x 3108)
GPU Status 2d_canvas: unavailable_software
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: disabled_off
protected_video_decode: disabled_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
Load (avg) 1, 1, 1
Memory (System) 7.63GB (0.27GB free)
Process Argv --force-user-env --no-sandbox --unity-launch --no-sandbox --crash-reporter-id a77eba79-e7c6-4e2d-be00-7fbfd8d4d24e
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE x11
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt617cf:30253240
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30211401
pythonvsdeb440:30248342
pythonvsded773:30248341
vstes627cf:30244335
pythonvspyt875:30251590

@rrakso
Copy link
Contributor Author

rrakso commented Feb 8, 2021

Solution from #1198 (comment) did the trick for me!

@rrakso rrakso closed this as completed Feb 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant