本文介绍了Sublime Text - plugin_host 在安装 sublime_tern 后意外退出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了 sublime_tern 包来帮助我进行 MeteorJS 开发.安装此软件包后,每次启动 Sublime 时,我都会收到:plugin_host 意外退出.我该怎么做才能解决这个问题?

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?

推荐答案

问题

我刚刚遇到了这个问题,但事实证明这是在我的两台笔记本电脑之间复制 sublime 造成的.我失去了正确的权限.

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.

我的解决方案是在 plugin_host 上授予执行权限,这很好(我也必须为 sublime_text 二进制文件这样做,我只是意识到更快).

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).

复制粘贴,导航到您的 sublime 文件夹(有关可能的路径,请参见下文)并运行:

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

chmod 755 sublime_text
chmod 755 plugin_host

(如果你不知道如何在命令行上导航,你可能不应该复制粘贴)

如果您使用的是 Mac,它可能类似于 /Applications/Sublime Text.app/Contents/MacOS

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

在 Linux 上,我的是 /opt/sublime_text_3

On Linux, mine is /opt/sublime_text_3

这篇关于Sublime Text - plugin_host 在安装 sublime_tern 后意外退出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 10:51