bitwarden/contributing-docs

To anyone having `Cannot read properties of undefined (reading 'length')` warning

mateusabelli opened this issue · 1 comments

Page

http://localhost:3000/

Expected Result

Run npm start and open http://localhost:3000/ without warnings.

Actual Result

npm start script launches http://localhost:3000/ with a warning overlaying on top.

Screenshots or Videos

image

Additional Context

Upon cloning this project, installing the dependencies and launching the dev server I noticed the error above.

This is being caused by the docusaurus-lunr-search dependency and it currently has an open PR praveenn77/docusaurus-lunr-search#120 aiming to fix it.

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
Hinton commented

This should be resolved since we upgraded to 3.2.0 in #212