11

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?

Eugene Goldberg
  • 14,286
  • 20
  • 94
  • 167
  • Here is the console output: Starting TernJS server for /Users/eugene/Documents/DevTraining/meteor/model-test/ModelTest.sublime-project with 4 libs and 98 files resource not found error: plugin_host has exited unexpectedly, plugin functionality won't be available until Sublime Text has been restarted – Eugene Goldberg Apr 05 '14 at 14:17
  • Did you drop the meteor.js plugin into Packages/TernJS/ternjs/plugin? (https://github.com/Slava/tern-meteor) – eosterberg Apr 09 '14 at 08:24

2 Answers2

4

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

jcuenod
  • 55,835
  • 14
  • 65
  • 102
  • I'm having this problem too, could you please explain how you solved it ? (How you gave execution permissions to plugin_host) – adb16x Aug 25 '15 at 15:50
  • I am using Windows, so I tried the chmod alternative i.e. calcs, but it did not work :( – adb16x Aug 28 '15 at 11:34
  • @WhiteFlameAB Google to find out how to change permissions on your version of windows and then ensure that everyone (owner, group, and others) has execute permissions on those two files. – jcuenod Aug 29 '15 at 19:36
  • On Linux Ubuntu 18, I changed the permissions flags to 755 as suggested above and also change dthe group (from root to users). Now, it works. – digfish Apr 17 '19 at 19:09
1

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.

Davor Budimir
  • 386
  • 2
  • 4
  • 15