Open beagins opened 7 years ago
Same issue here
You'll get this if https://github.com/angular/dgeni-packages/blob/974173de87add514b1f3f584a97e00a1881873a7/git/services/gitRepoInfo.js#L8
fails to parse the repository.url
field in your package.json
. For example if the field is missing or it is formatted for SSH like git@github.com:angular/angular.js.git
.
Updating package.json: as below, solved it for me.
From
"repository": "git@github.com:angular/angular.git",
To:
"repository": {
"type": "git",
"url": "https://github.com/angular/angular.git"
},
Added
require('dgeni-packages/git')
to my Dgeni Package and corresponding gulp task as described in example and on rungulp dgeni
from my project directory I getTypeError: Cannot read property '1' of null
. Dgeni docs build successfully when I comment outrequire('dgeni-packages/git')
.