Sublime Text - plugin_host exited unexpectedly after installing sublime_tern

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-10 02:33:34

问题


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.



来源:https://stackoverflow.com/questions/22881844/sublime-text-plugin-host-exited-unexpectedly-after-installing-sublime-tern

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!