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

Module not found: Error: Can't resolve '@docusaurus/useIsomorphicLayoutEffect' on docusaurus 2.4.1 #447

Open
jeffreys-cat opened this issue Aug 13, 2024 · 2 comments

Comments

@jeffreys-cat
Copy link

jeffreys-cat commented Aug 13, 2024

docusaurus-search-local version 0.44.5

the bad things is because of the cherrio 1.0.0 released, version 0.30.x not work now...

@weareoutman
Copy link
Member

weareoutman commented Aug 30, 2024

If you're using Docusaurus v2, please try our older versions combined with adding a "resolutions" (for yarn, and "overrides" for npm) in your package.json, to use a specific version of cheerio such as 1.0.0-rc.3.

I'll dig the issue with Docusaurus v2 later once I got time.

@jeffreys-cat
Copy link
Author

If you're using Docusaurus v2, please try our older versions combined with adding a "resolutions" (for yarn, and "overrides" for npm) in your package.json, to use a specific version of cheerio such as 1.0.0-rc.3.如果你使用的是 Docusaurus v2,请尝试使用我们的旧版本,并在你的 package.json中添加 “resolutions”(用于 yarn,以及用于 npm 的 “overrides”),以使用特定版本的 cheerio,例如 1.0.0-rc.3

I'll dig the issue with Docusaurus v2 later once I got time.等我有时间后,我会用 Docusaurus v2 来解决这个问题。

Get it, Thank you!

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