dgeni-alive
dgeni-alive copied to clipboard
Cannot read property 'includes' of undefined
Using v0.4.1 with grunt I get this error when I run grund dgeni-alive
:
Running "dgeni-alive:api" (dgeni-alive) task
Warning: Cannot read property 'includes' of undefined Use --force to continue.
I tried on the angular-route-segment example.
I'm getting this error too...
I solved this issue, which is not actually issue. Simply, you must exactly specify all dgeni packages in options section. My configuration looks like this:
grunt.initConfig({
'dgeni-alive': {
options: {
packages: [
'dgeni-packages/jsdoc',
'dgeni-packages/ngdoc',
'dgeni-packages/links',
'dgeni-packages/examples',
'./packages/jsdoc-ext',
'./packages/ngdoc-ext',
'./packages/links-ext',
'./packages/examples-ext'
],
serve: {
port: 10000,
openBrowser: false
},