Giter Site home page Giter Site logo

Comments (10)

weareoutman avatar weareoutman commented on June 3, 2024 6

@eric-hc oops, there is currently a workaround to fix this error, run npx yarn-deduplicate yarn.lock if you're using yarn, or run npm dedupe if you're using npm. (which will make docusaurus and this plugin to use the same version of Joi).

I will try to figure out a better solution to solve this issue later this week.

from docusaurus-search-local.

weareoutman avatar weareoutman commented on June 3, 2024 2

Let's wait Docusaurus alpha 73 ☕️ . FYI facebook/docusaurus#4456 (comment)

from docusaurus-search-local.

jason71708 avatar jason71708 commented on June 3, 2024 2

For someone who encounters this issue. Just delete your .lock file and install dependency again.

from docusaurus-search-local.

weareoutman avatar weareoutman commented on June 3, 2024 1

@rafaelrdealmeida try v0.14.1 which supports docusaurus v2.0.0-alpha.68 ☕️

from docusaurus-search-local.

weareoutman avatar weareoutman commented on June 3, 2024 1

Try v0.16.0 with Docusaurus alpha 73.

from docusaurus-search-local.

weareoutman avatar weareoutman commented on June 3, 2024

Um, yes, we should upgrade the joi dependency now. This plugin is trying to keep joi the same version as Docusaurus, which alhpa.66 depends on @hapi/joi and now alpha.68 depends on joi.

from docusaurus-search-local.

rafaelrdealmeida avatar rafaelrdealmeida commented on June 3, 2024

Hello it worked perfectly, thanks!

from docusaurus-search-local.

eric-hc avatar eric-hc commented on June 3, 2024

I'm seeing this issue again with these versions 😟

"@docusaurus/core": "^2.0.0-alpha.71",
"@docusaurus/preset-classic": "^2.0.0-alpha.71",
"@easyops-cn/docusaurus-search-local": "^0.15.0",

from docusaurus-search-local.

ltribolet avatar ltribolet commented on June 3, 2024

I think this happening again with beta 16. Sorry I wasn't updating properly, my bad 🙇

from docusaurus-search-local.

BorjanKalinoski avatar BorjanKalinoski commented on June 3, 2024

Removing package-lock.json, node_modules, and removing the ^ from the version, i.e. from ^17.6.0 to 17.6.0 fixed the issue.

Having a monorepo, different services installed different versions of joi, which caused the issue

from docusaurus-search-local.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.