您的位置:首页 > Web前端 > Node.js

sublime某些插件出现'Node.js was not find ...' 的解决方法

2015-11-23 03:10 381 查看
丫路径中又中文吧。。

step1: find "HTMLPrettify.py" and make a backup, it should be here ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/HTML-CSS-JS\ Prettify/HTMLPrettify.py
step2: line 83, replace node_path = PluginUtils.get_node_path()
with node_path = PluginUtils.get_node_path().encode("utf-8")
step3: line 85, replace file_path = self.view.file_name()
with file_path = self.view.file_name().encode("utf-8")
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: