-
Notifications
You must be signed in to change notification settings - Fork 236
Was compiled against a different Node.js version using NODE_MODULE_VERSION 57. This version of Node.js requires NODE_MODULE_VERSION 76. #1074
Comments
#1067 VSC 1.48.0-insiders vscode-arduino 0.3.1 serial port error |
I have this since upgrading my Node to 14.14.0
|
Prerelease build for the serial port issue is here: https://github.com/microsoft/vscode-arduino/releases/tag/v0.3.3-rc I plan to publish a release with this fix tomorrow, Oct 30. |
Resolved in release 0.3.3 |
This is happening again today after upgrading to VS Code 1.53.0. Error is
Uninstalling and reinstalling the extension doesn't help. |
Same error here. |
Installing the latest release from VSIX works for me, https://github.com/microsoft/vscode-arduino/releases/tag/v0.3.5 |
@shoop thanks for you. Your method works for me |
Upgrading from v0.3.4 to v0.3.5 helped me. |
@chovanj How did you upgrade? It says the latest version is 3.4 in VS extensions. Is there another way? |
You have to download it from here: https://github.com/microsoft/vscode-arduino/releases and manually install to your VS Code because it's not in the extensions repository yet. |
May 8th 2021 - Same Issue as previous users above: Visual Studio Code: Version: 1.56.0 Arduino for Visual Studio Code: 0.4.2 Error: Failed to open serial port /dev/ttyUSB0 due to error: + Error: The module 'xRedactedx/.vscode/extensions/vsciot-vscode.vscode-arduino-0.4.2/out/node_modules/usb-detection/build/Release/detection.node' Compiles code well, serial does not work at all. Advice Welcome :) Thank you |
Same as ever, uninstall VSC, reformat windows, buy a new pc, have a brain transplant, move to another planet and then slide to a parallel universe. Alternatively wait until next month when the authors republish this terribly brittle extension. Go to settings in VSC and disable auto update, then revert to the March release and resume doing work |
Andrew - I followed your instructions to the letter and even after arriving in the parallel universe the serial console refuses to open/work. Strangely it compiles and uploads using the said serial port but no console for debugging joy. The fake steaks in this universe are delicious and they have hovercars! :) Thank you for your advice - I even tried rolling back one at a time until I hit Arduino Plugin 0.3.0 from a year ago and similar failure message including no serial console joy. As you said I will wait until one of the releases works and then pin it in place and not update it. This whole Arduino under Visual Studio looks quit appealing and I applaud Microsoft for their hard work and I'll stop there. :) Thank you again Andrew you at least made me smile :) |
Not at my computer to cite the exact versions, but the latest Arduino extension works with the previous VSC version from March |
Andrew Bravo! Success! Works as you would expect it to :) Visual Studio Code 1.55.2 from April 21 which can be downloaded here (to assist others): And the Visual Studio Code Extension: Arduino for Visual Studio Code 0.4.2 Thank you Andrew you are a Superstar! :) |
I have tried to remove and use npm install to fix this issue but again and again I get the same error when trying to open the serial port
I was having this issue before, and it disappeared somewhat by itself. It has now reemerged and I have spent hours trying to fix it
The text was updated successfully, but these errors were encountered: