I've downloaded and installed the deb and the bin package for Visual Studio Code 32bit, but in both cases I'm getting the following error when I try to start it
./code: line 36: 2704 Illegal instruction ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"
I can't understand what is causing this problem. My system release is 12.04.5 LTS
Same error, see my LXTerminal from LXDE
mirko@localhost:~/Downloads$ sudo gdebi code_1.6.1-1476372351_i386.deb Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done Building data structures... Done Code editing. Redefined. Visual Studio Code is a new choice of tool that combines the simplicity of a code editor with what developers need for the core edit-build-debug cycle. See https://code.visualstudio.com/docs/setup/linux for installation instructions and FAQ. Do you want to install the software package? [y/N]:y Selecting previously unselected package code. (Reading database ... 97473 files and directories currently installed.) Unpacking code (from code_1.6.1-1476372351_i386.deb) ... Setting up code (1.6.1-1476372351) ... mirko@localhost:~/Downloads$ code /usr/bin/code: line 36: 5907 Illegal instruction ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"
Current status: still Open issue
Please note that, despite the accepted answer, the issue is still open