'dan Jsdoc yerel olarak yüklendi (npm install jsdoc). DEBUG: JSDoc 3.3.0-dev (Güneş, 15 Haziran 2014 18:39:52 GMT) DEBUG: Çevre bilgisi: { "env":
jsdoc .\node_modules.bin\jsdoc --debug ./lib/JavaScriptSource.js
Çıktı yürütmeye çalışırken aşağıdaki hatayı alıyorum { "conf": {"tags": {"allowUnknownTags": true}, "templ ates": {"monospaceLinks": false, "cleverLinks": false, "default": {"outputSourceFiles" : true}}, "source": {"includePattern": ". + \. js (doc)? $", "excludePattern": "(^ | \/| \\ ) _"}, "eklentileri": []}, " ": {" _ ": [" ./ lib/JavaScriptSource.js "]," debug "seçeneğini seçer: true," destina tion ":" ./ out/"," kodlama ":" utf8 "}}} İşlenecek giriş dosyası yok.
JSDoc 3.3.0-dev (Sun, 15 Jun 2014 18:39:52 GMT)
Options:
-t, --template <value> The path to the template to use. Default:
path/to/jsdoc/templates/default
-c, --configure <value> The path to the configuration file.
Default: path/to/jsdoc/conf.json
.....
</code>
'/ lib/JavaScriptSource.js' var mı? – Pointy
Evet, var. Jsdoc source jsdoc/cli.js dosyasında, cli.scanFiles() yöntemine yapılan çağrıdan sonra env.sourceFiles boş gelir. Bu yerdeki kodu detaylı olarak görmedim. – TDreama
jsdoc/cli.js için 263 satırında, bir 'code' var fileData = fs.readFileSync (env.opts ._ [0], 'utf8') çalıştırabildim; \t console.log (fileData.toString()); İçeriği görüntüleyen 'code'. Env nesnesi, orijinal gönderide gösterilir. – TDreama