Solaris で JSDuck v5.3.4 を実行しています。単一の非常に単純な入力ファイルを使用します。
/**
* @class Designer
*/
そして、私はそれを次のように実行します:
~/.gem/ruby/1.9.1/bin/jsduck --out ~/public_html/duck foo.js
生成されたコンテンツを参照しようとすると、大きな読み込みギアと緑色の JSDuck バナーが表示されますが、決して終了しません。Chrome インスペクタ コンソールに JS エラーが表示されます。
Uncaught TypeError: undefined is not a function app-0c945a27f43452df695771ddb60b3d14.js:1
Ext.define.setLogic app-0c945a27f43452df695771ddb60b3d14.js:1
Ext.define.initComponent app-0c945a27f43452df695771ddb60b3d14.js:1
Ext.define.constructor ext-all.js:38
b.implement.callParent ext-all.js:38
Ext.define.constructor ext-all.js:38
b.implement.callParent ext-all.js:38
Ext.define.constructor ext-all.js:38
i ext-all.js:38
Ext.apply.widget ext-all.js:38
Ext.define.create ext-all.js:38
Ext.define.lookupComponent ext-all.js:38
Ext.define.prepareItems ext-all.js:38
Ext.define.add ext-all.js:38
Ext.define.initItems ext-all.js:38
b.implement.callParent ext-all.js:38
Ext.define.initItems ext-all.js:38
Ext.define.initComponent ext-all.js:38
b.implement.callParent ext-all.js:38
Ext.define.initComponent ext-all.js:38
b.implement.callParent ext-all.js:38
Ext.define.initComponent ext-all.js:38
b.implement.callParent ext-all.js:38
Ext.define.initComponent app-0c945a27f43452df695771ddb60b3d14.js:1
Ext.define.constructor ext-all.js:38
b.implement.callParent ext-all.js:38
Ext.define.constructor ext-all.js:38
(rest of the stack just repeats the recursive call chain)
スタンドアロンの Win32 JSDuck 実行可能ファイル (v5.3.4 も) を使用して、このドキュメントを Windows で問題なく生成できます。
私が間違っているかもしれないことを理解するのに助けていただければ幸いです! 生成された出力にソース マップはありません。また、Ext4 のバンドル バージョンの縮小またはソース マップを無効にする方法も見つかりません。これが最も一般的な JS エラーであることを考えると、この「Uncaught TypeError: ...」の検索は実りがありません。