grunt-contrib-yuidoc icon indicating copy to clipboard operation
grunt-contrib-yuidoc copied to clipboard

no method 'parsedir' in 0.6.0-0.10.0

Open Crotery opened this issue 10 years ago • 3 comments

Just updated some packages in project and got same error as I found a year ago. Firstly I addressed it to yuidocjs, but now I found out, that this problem depends on grunt-contrib-yuidoc version.

Problem description with debugging is HERE: https://github.com/yui/yuidoc/issues/242

For now we use "yuidocjs": "0.9.0" and "grunt-contrib-yuidoc": "0.5.0" without any problems, but when we use 0.6...10 versions of your package, we are getting same error as described in the linked youdocjs issue 242.

Warning: Object src/ has no method 'parsedir' Use --force to continue.

gruntfile config:

{//...
yuidoc: {
            compile: {
                name:        '<%= pkg.name %>',
                description: '<%= pkg.description %>',
                version:     '<%= pkg.version %>',
                url:         'http://example.com',
                options:     {
                    paths:       'src/',
                    //themedir: 'path/to/custom/theme/',
                    outdir:      'doc/code',
                    "extension": ".ts"
                }

            }

        }
}

see the full description of error HERE: https://github.com/yui/yuidoc/issues/242

Crotery avatar Aug 28 '15 12:08 Crotery

Replaced "yuidocjs": "0.9.0" with "yuidocjs": "0.3.50" in my package.json fixed the issue for [email protected]. Seems like newer yuidocjs does the error. Whos is this issue for?

Crotery avatar Aug 28 '15 18:08 Crotery

Please file an issue on yuidocjs if you're able to reproduce it with only yuidocjs.

okuryu avatar Aug 29 '15 01:08 okuryu

Our CI cerver has this error reproduced with any versions of yuidocjs and grunt-contrib-yudoc. We do not have this modules installed globally. We had to disable docs so other build can run.

How is it possible?

Crotery avatar Aug 29 '15 04:08 Crotery