question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dgeni is currently broken

See original GitHub issue

Currently all usages of dgeni result in the following:

error:   Error processing docs:  TypeError: object is not a function
    at Function.v.extend.async (/private/tmp/merde/dgeni-example/node_modules/dgeni/node_modules/validate.js/validate.js:196:14)
    at /private/tmp/merde/dgeni-example/node_modules/dgeni/lib/Dgeni.js:166:23
    at _fulfilled (/private/tmp/merde/dgeni-example/node_modules/dgeni/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/private/tmp/merde/dgeni-example/node_modules/dgeni/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/private/tmp/merde/dgeni-example/node_modules/dgeni/node_modules/q/q.js:796:13)
    at /private/tmp/merde/dgeni-example/node_modules/dgeni/node_modules/q/q.js:857:14
    at runSingle (/private/tmp/merde/dgeni-example/node_modules/dgeni/node_modules/q/q.js:137:13)
    at flush (/private/tmp/merde/dgeni-example/node_modules/dgeni/node_modules/q/q.js:125:13)
    at process._tickCallback (node.js:415:13)
    at Function.Module.runMain (module.js:499:11)

A number of attempts were used to get dgeni working, including starting from scratch, using a yeoman project and trying out https://github.com/petebacondarwin/dgeni-example and all of them fail with the above exception.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
derekmosscommented, Mar 16, 2016

Thanks for commenting about the node.js version.

I ran into a similar issue running gulp docs on the angular material source and was getting the exact same error.

upgrading node.js to 4.4 from 0.10 fixed the problem.

1reaction
r1chardj0n3scommented, Feb 24, 2016

Thanks for investigating! I had version 0.10.26 installed. I’ve just updated to 5.7.0 and the generation works!

Read more comments on GitHub >

github_iconTop Results From Across the Web

dgeni link handling is broken by conversion to .ts #1729
I think this is as simple as telling dgeni to look in .ts files for changes? ... and apparently there is good progress...
Read more >
Angular 1.4 Breaking Changes to Be Aware Of - Brian Hann
The Angular 1.4 release introduced a lot of breaking changes. This is a full list with explanations and some suggestions on how to...
Read more >
dgeni-packages
This repository contains a collection of Dgeni Packages that can be used by the Dgeni documentation generator to create documentation from source code....
Read more >
dgeni-packages
A collection of dgeni packages for generating documentation from source code. Latest version: 0.29.5, last published: 16 days ago.
Read more >
Documenting your Angular app using Dgeni in 10 easy steps
AngularJS, Ionic Framework, Protractor and Angular Material are currently using Dgeni in production to generate their documentation.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found