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 media-chrome dependency can cause conflicts if media-chrome is also installed as a direct dep in your project.
for example in mux-player this is now the case. it's fine at the moment because the major versions are both the same.
solution 1:
make media-chrome a peer dependency
downside is that it's less clean, requires an extra media-chrome, media-chrome/menu, media-chrome/media-theme-element import
the media-chrome dependency can cause conflicts if media-chrome is also installed as a direct dep in your project.
for example in mux-player this is now the case. it's fine at the moment because the major versions are both the same.
solution 1:
make media-chrome a peer dependency
downside is that it's less clean, requires an extra media-chrome, media-chrome/menu, media-chrome/media-theme-element import
solution 2:
document this clearly and document a workaround when a conflict happens.
https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides
The text was updated successfully, but these errors were encountered: