Sublime Text - plugin_host exited unexpectedly aft

2019-04-21 07:50发布

问题:

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?

回答1:

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



回答2:

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.