Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'includes' of undefined #31

Open
stefano-caporale-wk opened this issue Nov 29, 2017 · 2 comments
Open

Cannot read property 'includes' of undefined #31

stefano-caporale-wk opened this issue Nov 29, 2017 · 2 comments

Comments

@stefano-caporale-wk
Copy link

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.

@DostalTomas
Copy link

I'm getting this error too...

@DostalTomas
Copy link

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
                },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants