Skip to content

Conversation

@cspotcode
Copy link
Owner

No description provided.

@@ -1,4 +1,4 @@
/** @type {import('@docusaurus/types').DocusaurusConfig} */
/** @type {import('@docusaurus/core/lib').DocusaurusConfig} */
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the problem due to not having @docusaurus/types in deps?

Copy link
Owner Author

@cspotcode cspotcode May 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, so resolving @docusaurus/types will fail in e.g. yarn2 PnP, and it may fail with a node_modules directory depending on how the package manager chooses to set it up. The package manager isn't required to hoist in a particular way, or at all. It is only required to respect each package.json's declared dependencies.

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

Successfully merging this pull request may close these issues.

2 participants