Description
Maybe there's something specific about my project, but when I add @algolia/autocomplete-js I get a bunch of "unmet peer dependency" warnings. I get the same warnings with a new project. Maybe these warnings are intentional but they seem pretty unfriendly and should be fixed, imo.
Reproduction
Steps
- Create a new project.
- Run
yarn init
- Run
yarn add @algolia/autocomplete-js
- Received output
[1/4] Resolving packages...
[2/4] Fetching packages...
warning chart.js@4.4.0: The engine "pnpm" appears to be invalid.
[3/4] Linking dependencies...
warning "workspace-aggregator-8d0bd819-678b-4381-8a21-4e795aadea2f > frontend > @algolia/autocomplete-js@1.11.1" has unmet peer dependency "@algolia/client-search@>= 4.5.1 < 6".
warning "workspace-aggregator-8d0bd819-678b-4381-8a21-4e795aadea2f > frontend > @algolia/autocomplete-js@1.11.1" has unmet peer dependency "algoliasearch@>= 4.9.1 < 6".
warning "workspace-aggregator-8d0bd819-678b-4381-8a21-4e795aadea2f > frontend > @algolia/autocomplete-js > @algolia/autocomplete-preset-algolia@1.11.1" has unmet peer dependency "@algolia/client-search@>= 4.9.1 < 6".
warning "workspace-aggregator-8d0bd819-678b-4381-8a21-4e795aadea2f > frontend > @algolia/autocomplete-js > @algolia/autocomplete-preset-algolia@1.11.1" has unmet peer dependency "algoliasearch@>= 4.9.1 < 6".
warning "workspace-aggregator-8d0bd819-678b-4381-8a21-4e795aadea2f > frontend > @algolia/autocomplete-js > @algolia/autocomplete-shared@1.11.1" has unmet peer dependency "@algolia/client-search@>= 4.9.1 < 6".
warning "workspace-aggregator-8d0bd819-678b-4381-8a21-4e795aadea2f > frontend > @algolia/autocomplete-js > @algolia/autocomplete-shared@1.11.1" has unmet peer dependency "algoliasearch@>= 4.9.1 < 6".
warning "workspace-aggregator-8d0bd819-678b-4381-8a21-4e795aadea2f > frontend > @algolia/autocomplete-js > @algolia/autocomplete-core > @algolia/autocomplete-plugin-algolia-insights@1.11.1" has unmet peer dependency "search-insights@>= 1 < 3".
[4/4] Building fresh packages...
Done in 3.88s.
Expected behavior
No warnings should be thrown.
Environment
- OS: Linux
- Autocomplete version: v1.11.1
Description
Maybe there's something specific about my project, but when I add @algolia/autocomplete-js I get a bunch of "unmet peer dependency" warnings. I get the same warnings with a new project. Maybe these warnings are intentional but they seem pretty unfriendly and should be fixed, imo.
Reproduction
Steps
yarn inityarn add @algolia/autocomplete-jsExpected behavior
No warnings should be thrown.
Environment