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")
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")
相关文章推荐
- Nodejs初级阶段之express
- nodejs初步体验篇
- Nodejs的express使用教程
- Nodejs Express4.x开发框架随手笔记
- 基于nodejs+express(4.x+)实现文件上传功能
- Node.js、Express、Socket.io 入门
- nodejs 如何获取对方的IP地址
- Remove Nth Node From End of List leetcode oj java
- [转载] NodeJS无所不能:细数十个令人惊讶的NodeJS开源项目
- 使用supervisor提高nodejs调试效率
- LeetCode:Remove Nth Node From End of List
- Node.js-require() 源码解读
- [备忘]node.js安装后需要那些做的事情
- Delete Node in a Linked List (Leet Code)
- ubuntu14.04系统nodejs express开发教程第一篇:环境搭建&&项目初步
- Node.js -- Router模块中有一个param方法
- 基于nodejs+socket.io的chatrobot
- 【Leetcode-easy】Remove Nth Node From End of List
- leetcode remove Nth Node from End python
- 【Leetcode】Populating Next Right Pointers in Each Node II