Closed r1chardj0n3s closed 8 years ago
Agh! Let me look into that.
I just cloned the dgeni-example project, ran npm install
and then grunt
and the processing executed without failure.
Can you give me some more information about your setup? What version of node are you using? I am on 4.2.3.
Thanks for investigating! I had version 0.10.26 installed. I've just updated to 5.7.0 and the generation works!
Great! Closing then. Open another issue if you have more difficulties.
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.
I am still having this issue with NodeJS 6.0.0
After some debugging, it looks like validate.js is not having it's "Promise" parameter set, and its trying to make promises of null. See the "Dependencies" section of the validate.js site - https://validatejs.org/
Currently all usages of dgeni result in the following:
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.