I have installed Visual Studio Code on my machine. It worked pretty well just after the installation.
But since I restarted my computer, it just won't open when I type the command 'code' in my terminal.
When I type the command to open Visual Studio, nothing happens. But if I type
which code
it returns me /usr/bin/code
, so the program is installed. The editor won't open even if I use sudo.
I am using Ubuntu 14.04 LTS and I installed the program using the .deb package offered
here
Any suggestions?
edit
I tried to create a symlink to the installation path. But now I got errors:
andre@andre-Lenovo-G40-80:~$ sudo ln -s /usr/share/code/code /usr/local/bin/code
andre@andre-Lenovo-G40-80:~$ which code
/usr/local/bin/code
andre@andre-Lenovo-G40-80:~$ code
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
Error: watch /home/andre/.config/Code/User ENOSPC
at exports._errnoException (util.js:890:11)
at FSWatcher.start (fs.js:1323:19)
at Object.fs.watch (fs.js:1351:11)
at r.e.registerWatchers (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:8:16692)
at r.e (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:8:15951)
at new r (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:8:19184)
at v (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:4:15395)
at t._createInstance (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:7:23640)
at t._createAndCacheServiceInstance (/usr/share/code/resources/app/out/vs/code/electron-main/main.js:7:24615)