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
I think that there are packages for which it doesn't make a big difference (if not exposed in your app or not likely that conflicting versions create problems, e.g. moment.js), but then there are packages, like React, for which it matters that all React dependencies are compatible with each other as they might create components that have to understand each other.
In your case, probably one of your dependencies uses sass-loader
in a different version than you specify in your project.
By declaring it as a peerDependency
you can tell npm which version your project expects and it will give you a warning (as you saw) when there is a conflict.
-
-
-
java string.getBytes(“UTF-8”) javascript equivalent 我在java中有这个字符串: 我的印象是 unescape(encodeURIComponent()) 会正确地将字符串转换为 UTF-8。难道不是这样吗? 参考:
-
在 REST API 调用之前对 meta 进行 OPTIONS 调用 我试图理解这个系统是如何在引擎盖下工作的。该系统是基于非常标准的,我没有得到的客户端在每次API调用之前进行调用,并且XML内容以该格式返回。它使用泽西爪哇。 B.此调用是由浏览器自
-
使用 Java 进行 AES 加密,并使用 Javascript 进行解密 我正在制作一个应用程序,它需要基于Java的AES加密和基于JavaScript的解密。我使用以下代码进行加密作为基本形式。