0

when I use code command, I get the error

$ code 2to3
/usr/local/bin/code: line 10: Loading sentinel dylib...
Successfuly loaded sentinel.dylib.
/Applications/Visual Studio Code.app/Contents/MacOS/Electron: No such file or directory
opar xu
  • 11
  • 1
  • 4

1 Answers1

0

Just add the VSCode bin path to the path environment variable.

The path showing in my Windows system is C:\Users\sas\AppData\Local\Programs\Microsoft VS Code\bin

For Mac follow this Run / Open VSCode from Mac Terminal

sas
  • 512
  • 2
  • 8