When installing packages with Yarn, what does “incorrect peer dependency” mean?

后端 未结 2 924
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-29 19:15

I\'ve just cloned a repo, which recommends the use of Yarn to install dependencies. When I run yarn install, it seems to be okay, but it provides this warning:<

2条回答
  •  再見小時候
    2020-12-29 19:57

    It is only a warning as it won't actually stop your code from running, It's just there to give you a heads up that there's something wrong with your dependencies.

    Effectively, peer dependencies are a way for packages to specify, "to use me, you should also have x version of y package installed".

    You should upgrade to the latest versions, see this link for more details on sass-loader dependencies

提交回复
热议问题