我在 Windows 7 上运行 Docco 时遇到问题。我执行了以下操作:
- 下载并安装了python和perl
- 安装节点js
- 运行 npm install -g 咖啡脚本
- 运行 easy_install pygments
- 运行 npm install -g pygments
- 运行 npm install -g docco
我使用 javascript 源导航到目录:
C:\javascript>docco animation.js
docco: animation.js -> docs\animation.html
fs.js:427
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT, no such file or directory 'C:\javascript\docs\animation.html'
at Object.fs.openSync (fs.js:427:18)
at Object.fs.writeFileSync (fs.js:966:15)
at write (C:\Users\myaccount\AppData\Roaming\npm\node_modules\docco\docco.js:111:15)
at C:\Users\myaccount\AppData\Roaming\npm\node_modules\docco\docco.js:29:11
at fs.js:266:14
at Object.oncomplete (fs.js:107:15)
知道问题是什么吗?