angular / dgeni-packages

A collection of dgeni packages for generating documentation from source code.
MIT License
142 stars 101 forks source link

Error: Missing dependency: "readTypeScriptModules" on "linkInheritedDocs" #210

Closed chalin closed 7 years ago

chalin commented 7 years ago

@petebacondarwin I can't built the Angular docs cheatsheet.json for Dart anymore with 0.16.9; I get the following error:

Error: Missing dependency: "readTypeScriptModules"  on "linkInheritedDocs"
    at /home/travis/build/dart-lang/site-webdev/node_modules/dgeni/lib/util/dependency-sort.js:31:27
    at Array.forEach (native)
    at addDependencies (/home/travis/build/dart-lang/site-webdev/node_modules/dgeni/lib/util/dependency-sort.js:29:34)
    at /home/travis/build/dart-lang/site-webdev/node_modules/dgeni/lib/util/dependency-sort.js:50:9
    at /home/travis/build/dart-lang/site-webdev/node_modules/dgeni/node_modules/lodash/index.js:3073:15
    at baseForOwn (/home/travis/build/dart-lang/site-webdev/node_modules/dgeni/node_modules/lodash/index.js:2046:14)
    at /home/travis/build/dart-lang/site-webdev/node_modules/dgeni/node_modules/lodash/index.js:3043:18
    at Function.<anonymous> (/home/travis/build/dart-lang/site-webdev/node_modules/dgeni/node_modules/lodash/index.js:3346:13)
    at Object.sortByDependency (/home/travis/build/dart-lang/site-webdev/node_modules/dgeni/lib/util/dependency-sort.js:49:7)
    at Dgeni.configureInjector (/home/travis/build/dart-lang/site-webdev/node_modules/dgeni/lib/Dgeni.js:142:49)

Using 0.16.8 works fine.

cc @kwalrath

petebacondarwin commented 7 years ago

I have reverted the breaking commit and released 0.16.10 for now. I will work out what the problem is and release the feature as 0.17.0, partly because I am due to upgrade to a later version of TypeScript for the parsing in any case, which could also cause breaking changes.

petebacondarwin commented 7 years ago

@chalin is this working for you now?