algolia / algolia/docsearch

`autocomplete-preset-algolia` has missing peer dependency `algolia/client-search`

Open
#998 7 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.4k
Forks
439
Avg merge
14h 32m
Merged PRs (30d)
19

Description

When installing `docsearch/react` (eg, latest version), I noticed warning like this:

> @docusaurus/theme-search-algolia > @docsearch/react > @algolia/autocomplete-preset-algolia@1.0.0-alpha.35" has unmet peer dependency "@algolia/client-search@^4.5.1".

@francoischalifour could you please fix this?

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the dependency metadata for @algolia/autocomplete-preset-algolia@1.0.0-alpha.35 and the docsearch/react dependency chain described in the report. Reproduce the installation warning, then verify that the unmet @algolia/client-search peer dependency is declared and the warning no longer appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.