headmelted / codebuilds

Community builds of Visual Studio Code for Chromebooks and Raspberry Pi
https://code.headmelted.com
MIT License
1.03k stars 56 forks source link

App never launches on ChromeOS [with solution] #82

Closed natevw closed 5 years ago

natevw commented 5 years ago

As per the native (Crostini) notes on https://code.headmelted.com/#chromeos-install-scripts I downloaded "the corresponding deb package". Unclear as to what to do next, I used dpkg -i to install the file.

This gave me an icon for "Code - OSS (head…" in my Chromebook's Linux apps folder, but whenever I clicked it it would just "spin" in the bottom bar and never launch regardless of how long I waited.

Running /usr/share/code-oss/code-oss directly from terminal gives an error about "cannot find libnss3.so"

Solution

Running sudo apt install -f installed a number of apparently missing dependencies. I suspect there's a better way to do this directly while installing the file originally but this allows Code to launch. Thanks for this project!

natevw commented 5 years ago

(Closing this since I mostly filed it for anyone else who gets stuck with this, i.e. probably me in six months… ;-)