You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
I'm not sure how we can solve this, but you should install algoliasearch before or right after installing autocomplete. Normally most information should already be updated with npm install algoliasearch @algolia/autocomplete-js. If you copied from somewhere that doesn't have that, I'd gladly fix it
I mean, the readme of this repo (at least on the next branch, which is default) says you should install the package with
yarn add @algolia/autocomplete-js
# or
npm install @algolia/autocomplete-js
If that's not the right way for someone looking to install this project to get started it should say that. Additionally, the project will still warn about unmet peer dependencies. You still need to install @algolia/client-search and search-insights. I get that those are required by projects that aren't this one, but I think they should be either included as dependencies for this project, or at least included in the documentation of how to install this project.
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 init
yarn add @algolia/autocomplete-js
Expected behavior
No warnings should be thrown.
Environment
The text was updated successfully, but these errors were encountered: