我有在Windows 7上運行Docco麻煩,我做了以下運行Docco:故障在Windows 7
- 下載並安裝Python和Perl
- 安裝節點JS
- 運行NPM安裝 - 摹咖啡腳本
- 運行easy_install的Pygments來做
- 運行NPM安裝-g Pygments來做
- 運行NPM安裝-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)
任何想法的問題是什麼?
'C:\ javascript \ docs \'不存在? – robertklep 2013-04-05 19:58:00
我認爲它應該在解析animation.js之後生成文件夾文檔和文件animation.html。我不確定爲什麼預期它會事先存在 – codeshark 2013-04-08 17:03:16