Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text - plugin_host exited unexpectedly after installing sublime_tern

I have installed sublime_tern package to help me with my MeteorJS development. After installing this package, any time I start Sublime I get: plugin_host exited unexpectedly. What can I do to troubleshoot this?

like image 316
Eugene Goldberg Avatar asked Apr 05 '14 13:04

Eugene Goldberg


Video Answer


2 Answers

I had same problem as you did. However, I downloaded and installed newer (sub)version of sublime to same directory where was older version installed. That confused sublime and finally I solved this issue by uninstalling sublime using revo uninstaller and installing it again.

Hope I've been of some help.

like image 147
Davor Budimir Avatar answered Nov 16 '22 02:11

Davor Budimir


Problem

I just had this problem but it turned out that it resulted from copying sublime between my two laptops. Somewhere along the line I lost the correct permissions.

Solution

The solution for me was to give execution permissions on plugin_host and it was fine (I also had to do that for the sublime_text binary, I just realised that faster).

Copy pasters, navigate to your sublime folder (see below for possible paths) and run:

chmod 755 sublime_text
chmod 755 plugin_host

(if you don't know how to navigate on the command line, you probably shouldn't be copy pasting)

Possible Paths

If you're on Mac it could be something like /Applications/Sublime Text.app/Contents/MacOS

On Linux, mine is /opt/sublime_text_3

like image 22
jcuenod Avatar answered Nov 16 '22 03:11

jcuenod