Atom编辑器中安装Emmet插件失败的问题

 今天使用Atom编辑器安装Emmet插件的时候,刚开始的时候报错:

报错内容如下:

Installing “emmet@2.4.3” failed.Show output…
Compiler tools not found
Packages that depend on modules that contain C/C++ code will fail to install.
Read here for instructions on installing Python and Visual Studio.
Run apm install --check after installing to test compiling a native module.

网上查资料说是让手动安装。或者翻墙后再点击Install。

感觉手动安装太麻烦,所以就先登录蓝灯(翻墙软件),然后再点击Install,结果安装成功了。

【备注:实际情况是先登录了蓝灯,紧接着退出了蓝灯,然后多点击了几次Install才成功的。所以不太清楚需要不需要翻墙。

所以如果没有翻墙软件的话,可以试试多点击几次Install,看看能不能成功;如果不能成功的话,再考虑翻墙】

翻墙后关闭翻墙软件时先报错:

再次单击Install成功了。成功状态如下:

参考资料

http://blog.csdn.net/sufubo/article/details/53539759

原文地址:https://www.cnblogs.com/whycxb/p/7685715.html