wkeese / old-api-viewer

Old viewer for output of old js-doc-parse, replaced by https://github.com/dojo/dapi
22 stars 10 forks source link

I hava a problem generating tree.json and details.xml.. #57

Closed jjcastano closed 11 years ago

jjcastano commented 11 years ago

I'm trying to generate tree.json and details.xml with js-doc-parse (master branch) in MacOS but I always get the same problem when running parse.sh.

I have this folders with this configuration: folders

And I get this error.. Any Ideas?:

{ [Error: multipleDefine] src: 'dojoLoader', info: { pid: 'dojo', mid: 'dojo/node', pack: { main: 'main', name: 'dojo', location: '/Users/jjcastano/Documents/BKS/code/juno-workspace/js-doc-parse/dojo' }, url: '/Users/jjcastano/Documents/BKS/code/juno-workspace/js-doc-parse/dojo/node.js', executed: 0, def: [Function], isXd: undefined, isAmd: false, loadQ: [ [Object] ], injected: 'arrived', result: {}, deps: [ [Object] ], cjs: { id: 'dojo/node', uri: '/Users/jjcastano/Documents/BKS/code/juno-workspace/js-doc-parse/dojo/node.js', exports: {}, setExports: [Function], config: [Function] } } } src: dojoLoader info: { pid: 'dojo', mid: 'dojo/node', pack: { main: 'main', name: 'dojo', location: '/Users/jjcastano/Documents/BKS/code/juno-workspace/js-doc-parse/dojo' }, url: '/Users/jjcastano/Documents/BKS/code/juno-workspace/js-doc-parse/dojo/node.js', executed: 0, def: [Function], isXd: undefined, isAmd: false, loadQ: [ { plugin: [Circular], mid: 'dojo/node!9!waitingForPlugin', req: [Object], prid: 'path', injected: 'requested' } ], injected: 'arrived', result: {}, deps: [ { mid: 'exports', injected: 'arrived', executed: 'executed', def: 'not-a-module', result: 'not-a-module' } ], cjs: { id: 'dojo/node', uri: '/Users/jjcastano/Documents/BKS/code/juno-workspace/js-doc-parse/dojo/node.js', exports: {}, setExports: [Function], config: [Function] } }

wkeese commented 11 years ago

I'm trying to generate tree.json and details.xml with js-doc-parse (master branch) in MacOS

That's not supposed to work. As the instructions (https://github.com/wkeese/api-viewer) say, you need to use the all-my-changes branch.