![]() Show version and info of ubuntu supported snap: snap info code Installing via snap (for Ubuntu versions > 18.04)īTW Ubuntu 18.04 LTS (Long term release) now supports code directly and you can install it via snap package: To go to the next line simply type n and return. ![]() This will run the bash script line per line. To debug you should use following command: bash -debugger `which code` + /usr/share/code/bin/./code /usr/share/code/bin/./resources/app/out/cli.jsīash: /home/adam/anaconda3/bin:/home/adam/anaconda3/bin:/home/adam/bin:/home/adam/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin: No such file or directory + CLI=/usr/share/code/bin/./resources/app/out/cli.js VSCODE_PATH="$(dirname $(readlink -f $0))/."ĬLI="$VSCODE_PATH/resources/app/out/cli.js"ĮLECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" $?ĭebug output (from different directories) ~$ bash -x code # if readlink exists, follow the symlink and find relatively # if path is not a symlink, find relatively ![]() If you really want to, you must specify an alternate user data directory using the -user-data-dir argument." 1>&2 ![]() # If root, ensure that -user-data-dir or -file-write is specifiedįor i in ] thenĮcho "You are trying to start vscode as a super user which is not recommended. See License.txt in the project root for license information. Which code yields /usr/bin/code, which is a bash script. I'm struggling with what to try since I'm relatively new to Linux. When I open a terminal and type code, the command does nothing and I get a new prompt in less than a second.When I open the program from 'Applications', the icon shows in the launcher for approximately 15 seconds and then disappears.I've tried opening the application two ways to no effect. I've tried multiple installation methods with identical results most recently, I followed the "new" instructions from Cactux here. I've installed VS Code on my laptop with Ubuntu 16.04 LTS.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |