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

_protagonist2.default.parse error #2

Open
kamihouse opened this issue Apr 10, 2020 · 0 comments
Open

_protagonist2.default.parse error #2

kamihouse opened this issue Apr 10, 2020 · 0 comments

Comments

@kamihouse
Copy link

kamihouse commented Apr 10, 2020

When I run ./node_modules/apib-lint/bin/apib-lint some-file.apib I get:

documentacoes (master) $ node -v
v8.17.0

documentacoes (master) $ ./node_modules/apib-lint/bin/apib-lint some-file.apib
/private/tmp/documentacoes/node_modules/apib-lint/dist/lint.js:11
        _protagonist2.default.parse(source, { type: 'ast' }, function (error, result) {
                              ^

TypeError: unrecognized option 'type', expected: 'requireBlueprintName', 'generateSourceMap'
    at /private/tmp/documentacoes/node_modules/apib-lint/dist/lint.js:11:31
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
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

1 participant