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

Redoc-cli uses a different lunr version than the one bundled #844

Closed
alexgmin opened this issue Mar 13, 2019 · 2 comments
Closed

Redoc-cli uses a different lunr version than the one bundled #844

alexgmin opened this issue Mar 13, 2019 · 2 comments

Comments

@alexgmin
Copy link
Contributor

Installed versions after a npm install redoc-cli
redoc-2.0.0-rc.2
redoc-cli-0.7.0
lunr-2.3.6

When bundling or using ŕedoc-cli serve -ssr the tool adds the redoc.standalone.js to the generated html, but the search index is generated using the installed solr version, which in this case is newer than the bundled one. This results in this console warning in the browser
Version mismatch when loading serialised index. Current version of lunr '2.3.5' does not match serialized index '2.3.6'

Generated file:
https://gist.github.com/Alexgmin/e312a82d4d18b8ab374ac55260a0a324

@RomanHotsiy
Copy link
Member

Will be released in the upcoming version

@RomanHotsiy
Copy link
Member

[email protected] and [email protected] has been just released.
Should be fixed now.

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