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
The author of [autocomplete-js] can fix this problem by adding a peer dependency on [algoliasearch]. If relevant, they can use optional peer dependencies to this effect.
Reproduction
yarn set version berry
yarn add @algolia/autocomplete-js @algolia/client-search
I've made a fix in #1095 which will be included in the next release in the coming weeks (the last release was just hours ago, so I'll leave this a bit until another useful feature is added
Description
Installing
autocomplete-js
with yarn@3 produces a peer dependency warning:According to https://yarnpkg.com/advanced/error-codes#yn0002---missing_peer_dependency:
Reproduction
autocomplete-js depends on preset-algolia which peer depends on algoliasearch, but does not provide it itself.
Expected behavior
Dependencies install without warnings.
Environment
The text was updated successfully, but these errors were encountered: