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

Error trying to generate open api doc #69

Closed
aberman opened this issue May 9, 2016 · 2 comments
Closed

Error trying to generate open api doc #69

aberman opened this issue May 9, 2016 · 2 comments

Comments

@aberman
Copy link
Contributor

aberman commented May 9, 2016

Just downloaded a fresh copy of bootprint and bootprint-openapi today and when I tried to generate docs, I got:

Loading bootprint-openapi 0.16.0
Loading bootprint-json-schema 0.8.6
Loading bootprint-base 0.7.2

/usr/local/lib/node_modules/bootprint/node_modules/q/q.js:155
                throw e;
                ^
Error: Invalid mapping: {"generated":{"line":5,"column":17487},"source":"/usr/local/lib/node_modules/bootprint-openapi/node_modules/bootstrap/less/type.less","original":{"line":1,"column":null},"name":null}
    at SourceMapGenerator_validateMapping [as _validateMapping] (/usr/local/lib/node_modules/bootprint/node_modules/less/node_modules/source-map/lib/source-map-generator.js:277:13)
    at SourceMapGenerator_addMapping [as addMapping] (/usr/local/lib/node_modules/bootprint/node_modules/less/node_modules/source-map/lib/source-map-generator.js:101:12)
    at SourceMapOutput.add (/usr/local/lib/node_modules/bootprint/node_modules/less/lib/less/source-map-output.js:88:42)
    at Element.genCSS (/usr/local/lib/node_modules/bootprint/node_modules/less/lib/less/tree/element.js:42:12)
    at Selector.genCSS (/usr/local/lib/node_modules/bootprint/node_modules/less/lib/less/tree/selector.js:104:21)

Looks like it could be a dependency version issue.

Any thoughts?

@gbegen
Copy link

gbegen commented May 9, 2016

Having the same problem here.

@nknapp
Copy link
Member

nknapp commented May 9, 2016

This is due to bootprint/customize-engine-less#1 and was introduced with less@2.7.0. Try reinstalling the dependencies and make sure that customize-engine-less@0.2.4 is used. It binds the less-dependency to version 2.6.1

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

3 participants