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

fix(v2): add missing lodash.flatmap dependency #3191

Merged
merged 1 commit into from
Aug 3, 2020

Conversation

ylemkimon
Copy link
Contributor

@ylemkimon ylemkimon commented Aug 3, 2020

Motivation

The dependency to lodash.flatmap was added in 300aecb#diff-42a2e682d62828c66fd6c3ed3d4e932e, but wasn't added to package.json.

This causes error in Yarn 2:

Error: @docusaurus/core tried to access lodash.flatmap, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

In the "Start test-website project" step of Yarn 2 E2E test, verify the following error is not printed:

Error: @docusaurus/core tried to access lodash.flatmap, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

https://github.com/facebook/docusaurus/pull/3191/checks?check_run_id=939419200#step:7:7

Related PRs

Related issue: #3003

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Aug 3, 2020
@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-2 ready!

Built with commit c03aace

https://deploy-preview-3191--docusaurus-2.netlify.app

@slorber slorber added the pr: bug fix This PR fixes a bug in a past release. label Aug 3, 2020
@slorber slorber merged commit 64293bf into facebook:master Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants