Comments (10)
@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.
Let's wait Docusaurus alpha 73
from docusaurus-search-local.
For someone who encounters this issue. Just delete your .lock
file and install dependency again.
from docusaurus-search-local.
@rafaelrdealmeida try v0.14.1 which supports docusaurus v2.0.0-alpha.68
from docusaurus-search-local.
Try v0.16.0 with Docusaurus alpha 73.
from docusaurus-search-local.
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.
Hello it worked perfectly, thanks!
from docusaurus-search-local.
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.
I think this happening again with beta 16. Sorry I wasn't updating properly, my bad
from docusaurus-search-local.
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)
- Split word Characters
- zh search input ten more word the page will crash HOT 3
- At sign in title of document is broken
- Support customizing the search
- Build error occurs when docusaurus version >=2.2.0
- Plugin seems to break in docs-only mode HOT 1
- After build "Couldn't Found search-index.json" error shows. HOT 10
- Question: is it possible to ignore a folder? HOT 2
- [Question] Independent extract search feature into another website
- pnpm build: Docusaurus server-side rendering could not render static page with path
- How to solve the type checking error in vscode? HOT 2
- I'm not able to swizzle the Search component. HOT 1
- Option to use custom icon for search HOT 3
- build fail when add slug: filename.html
- Search icon doesn't change color between light/dark mode HOT 1
- Allow Search to open details html tag
- Japanese search problem
- Add theme option to set the search bar placeholder message
- Docusaurus `tags` make search results incorrect and unreadable
- [Bug] - CI Fails when Used with Docusaurus 2.4.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docusaurus-search-local.