When the mac installation of visual studio code is complete, the following problems occur

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: @rpath/Electron Framework.framework/Electron Framework
  Referenced from: /Applications/Visual Studio Code.app/Contents/MacOS/Electron
  Reason: no suitable image found.  Did find:
    /Applications/Visual Studio Code.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: file too short
    /Applications/Visual Studio Code.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: stat() failed with errno=1

Binary Images:
       0x10daac000 -        0x10daacff7 +com.microsoft.VSCode (1.19.3 - 1.19.3) <1A780387-B9CC-365B-9D6C-C38A9E714A15> /Applications/Visual Studio Code.app/Contents/MacOS/Electron
       0x112e50000 -        0x112e9a9df  dyld (551.3) <AFAB4EFA-7020-34B1-BBEF-0F26C6D3CA36> /usr/lib/dyld-sharp-sharp-sharp 
Apr.08,2021

Electron, is not installed. Install it and see

Menu