[email protected]" has unmet peer dependency "[email protected] 的解决方案




国人的博客写的比较懒,个人从stack
over  flow 查找到这个问题,大概就是....

I‘m using npm install [email protected] --save to upgrade React Native, but I keep getting an error that I have an "UNMET PEER DEPENDENCY [email protected]".

This confuses me because I thought I had just installed [email protected]

Those error messages can be really poorly worded. I‘ve seen this same thing; it‘s reporting that you have [email protected] installed, but something else is requesting a different version.

I‘d suggest doing an npm ls; it will give you a better picture of all the peer dependency requirements and what‘s wrong.


Thanks, I‘ve tried npm ls, and it appears that I have two conflicting requirements: one for [email protected]^0.33.0 and another for [email protected]>=0.40. Is there any way this can be resolved? – user2421192 Jan 8 at 6:58
    

Ouch. Unfortunately, I don‘t think you have a good way to resolve that short of finding dependencies that have compatible react-native dependencies. – Jacob Jan 8 at 6:59
时间: 2024-10-13 10:42:20

[email protected]" has unmet peer dependency "[email protected] 的解决方案的相关文章

UNMET PEER DEPENDENCY [email protected]解决方案

安装包时提示: Bash ── UNMET PEER DEPENDENCY [email protected] └── [email protected] invalid npm WARN [email protected] requires a peer of [email protected]>=15.4.0 but none was installed. 解决: Bash npm install [email protected] -g

npm [email protected] requires a peer of [email protected]^6.0.0 but none is installed.

npm [email protected] requires a peer of [email protected]^6.0.0 but none is installed. You must install peer dependencies yourself. 毛主席说:"缺什么,补什么." 缺了一个依赖,装上即可. npm install [email protected] 原文地址:https://www.cnblogs.com/benjieqiang/p/11404180.h

npm WARN [email protected] requires a peer of [email protected]>=0.52.4 but none is installed. You must inst

问题: npm WARN [email protected] requires a peer of [email protected]>=0.52.4 but none is installed. You must install peer dependencies yourself. 解决办法: 1.在package.json文件中添加如下代码: "stylus-loader": "^3.0.2", "stylus": "0.5

NMET PEER DEPENDENCY解决方法

关于在create-react-app 的reacte脚手架报这个错的解决方法 NMET PEER DEPENDENCY [email protected] [email protected] requires a peer of [email protected]^0.14.0 || ^15.0.0 but none was installed. 这个问题其实是让你在安装插件的时候,不是官方最新的版本,导致他的依赖出现了问题,就是他依赖的版本过高,所以你需要优雅降级,根据他的提示去更改你的pa

解决Odoo出现的Unable to send email, please configure the sender's email address or alias.

这是由于当前登录用户的邮件地址信息缺失造成的,需要设置其邮件地址. 方法:使用创建该用户的管理员帐号登录系统,开启技术特性,在需要设置邮箱地址的用户界面点击相关的业务伙伴标签链接,如图所示: 解决Odoo出现的Unable to send email, please configure the sender's email address or alias.

使用vue搭建应用——加入element及SCSS

安装使用 element 1.安装 yarn add element-ui 2.使用 (1)在 main.js 中引入 element main.js 为修改 import Vue from 'vue' import App from './App' import router from './router' import ElementUI from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' Vue.config.pr

Grunt 之 使用 JavaScript 语法检查工具 jshint

前端开发环境准备好了,我们准备开始进行开发. 前端开发的主力语言是 JavaScript,这是一种脚本语言,没有编译器,也就没有了编译器带给我们的语法检查,怎样保证代码的质量呢?jshint 是一个强大的工具. 1. 概要说明 官方地址:http://jshint.com/ GitHub 地址:https://github.com/jshint/jshint JSHint 是一个使用 JavaScript 编写的 JavaScript 的代码质量检查工具,主要用来检查代码质量以及找出一些潜在的代

Grunt - Karma 单元测试

Karma 是 Goolge 开源的一个 Test runner, 可以配合 Grunt 使用. 1. 相关插件介绍 1.1 Karma 的官网 http://karma-runner.github.io/ 官网中的文档其实分多钟版本,不同版本的 karma 使用也有所不同,注意页面右上角的版本信息. 1.2 配合 Grunt 的插件 grunt-karma https://github.com/karma-runner/grunt-karma 1.3 karma 用来启动 chrome 的 k

golang angular5 nginx web程序部署说明

1.nginx nginx-1.13.8.zip http://nginx.org/en/download.html unzip to E:\web-server-for-win E:\web-server-for-win\nginx-1.13.8\conf nginx配置修改 nginx.conf 红色字体为新添加配置 ######## start ######## #user  nobody; worker_processes  1; #error_log  logs/error.log;