- Java 双重比较
- java - 比较器与 Apache BeanComparator
- Objective-C 完成 block 导致额外的方法调用?
- database - RESTful URI 是否应该公开数据库主键?
我从一个基本的指数启动项目开始,然后按照他们的教程添加了一个 apollo 客户端,最后遇到了一堆对等依赖性问题。我该如何解决 - 我需要固定某些版本的 apollo 客户端吗?冲突是什么?
按照本指南添加 apollo 客户端引用:https://docs.getexponent.com/versions/v12.0.0/guides/using-apollo.html
这是指数启动项目从一开始就出现的单一对等依赖错误(我是否需要以某种方式修复它 - 指数被固定以响应 15.3.2)?
$ npm ls --depth 0
vanilla-exponent@0.0.0 /Users/jinteki/Projects/vanilla-exponent
├── @exponent/ex-navigation@2.3.0
├── @exponent/samples@1.0.2
├── @exponent/vector-icons@2.0.3
├── exponent@12.0.5
├── jest-exponent@0.1.4
├── react@15.3.2
└── react-native@0.37.0 (git+https://github.com/exponentjs/react-native.git#e708008e450ce254e715b7034b6fd63346974c6c)
npm ERR! peer dep missing: react@^15.4.1, required by react-test-renderer@15.4.1
以及在我运行 npm install apollo-client react-apollo --save
$ npm ls --depth 0
vanilla-exponent@0.0.0 /Users/jinteki/Projects/vanilla-exponent
├── @exponent/ex-navigation@2.3.0
├── @exponent/samples@1.0.2
├── @exponent/vector-icons@2.0.3
├── UNMET PEER DEPENDENCY apollo-client@0.7.1
├── exponent@12.0.5
├── jest-exponent@0.1.4
├── react@15.3.2
├── react-apollo@0.8.1
├── UNMET PEER DEPENDENCY react-dom@0.14.x || 15.* || ^15.0.0
├── react-native@0.37.0 invalid
├── react-native-maps@0.11.0 extraneous
└── react-native-svg@4.3.0 extraneous
npm ERR! peer dep missing: apollo-client@^0.6.0, required by react-apollo@0.8.1
npm ERR! peer dep missing: react-dom@0.14.x || 15.* || ^15.0.0, required by react-apollo@0.8.1
npm ERR! invalid: react-native@0.37.0 /Users/jinteki/Projects/vanilla-exponent/node_modules/react-native
npm ERR! extraneous: absolute-path@0.0.0 /Users/jinteki/Projects/vanilla-exponent/node_modules/absolute-path
npm ERR! extraneous: art@0.10.1 /Users/jinteki/Projects/vanilla-exponent/node_modules/art
npm ERR! extraneous: babel-plugin-external-helpers@6.18.0 /Users/jinteki/Projects/vanilla-exponent/node_modules/babel-plugin-external-helpers
npm ERR! extraneous: babel-polyfill@6.20.0 /Users/jinteki/Projects/vanilla-exponent/node_modules/babel-polyfill
npm ERR! extraneous: babel-preset-es2015-node@6.1.1 /Users/jinteki/Projects/vanilla-exponent/node_modules/babel-preset-es2015-node
npm ERR! extraneous: babel-preset-fbjs@2.1.0 /Users/jinteki/Projects/vanilla-exponent/node_modules/babel-preset-fbjs
npm ERR! extraneous: base64-js@1.2.0 /Users/jinteki/Projects/vanilla-exponent/node_modules/base64-js
npm ERR! extraneous: connect@2.30.2 /Users/jinteki/Projects/vanilla-exponent/node_modules/connect
npm ERR! extraneous: denodeify@1.2.1 /Users/jinteki/Projects/vanilla-exponent/node_modules/denodeify
npm ERR! extraneous: event-target-shim@1.1.1 /Users/jinteki/Projects/vanilla-exponent/node_modules/event-target-shim
npm ERR! extraneous: fbjs-scripts@0.7.1 /Users/jinteki/Projects/vanilla-exponent/node_modules/fbjs-scripts
npm ERR! extraneous: fs-extra@0.26.7 /Users/jinteki/Projects/vanilla-exponent/node_modules/fs-extra
npm ERR! extraneous: image-size@0.3.5 /Users/jinteki/Projects/vanilla-exponent/node_modules/image-size
npm ERR! extraneous: immutable@3.7.6 /Users/jinteki/Projects/vanilla-exponent/node_modules/immutable
npm ERR! extraneous: inquirer@0.12.0 /Users/jinteki/Projects/vanilla-exponent/node_modules/inquirer
npm ERR! extraneous: jest-haste-map@15.0.1 /Users/jinteki/Projects/vanilla-exponent/node_modules/jest-haste-map
npm ERR! extraneous: joi@6.10.1 /Users/jinteki/Projects/vanilla-exponent/node_modules/joi
npm ERR! extraneous: json5@0.4.0 /Users/jinteki/Projects/vanilla-exponent/node_modules/json5
npm ERR! extraneous: jstransform@11.0.3 /Users/jinteki/Projects/vanilla-exponent/node_modules/jstransform
npm ERR! extraneous: lodash@3.10.1 /Users/jinteki/Projects/vanilla-exponent/node_modules/lodash
npm ERR! extraneous: mime@1.3.4 /Users/jinteki/Projects/vanilla-exponent/node_modules/mime
npm ERR! extraneous: mime-types@2.1.11 /Users/jinteki/Projects/vanilla-exponent/node_modules/mime-types
npm ERR! extraneous: module-deps@3.9.1 /Users/jinteki/Projects/vanilla-exponent/node_modules/module-deps
npm ERR! extraneous: npmlog@2.0.4 /Users/jinteki/Projects/vanilla-exponent/node_modules/npmlog
npm ERR! extraneous: opn@3.0.3 /Users/jinteki/Projects/vanilla-exponent/node_modules/opn
npm ERR! extraneous: plist@1.2.0 /Users/jinteki/Projects/vanilla-exponent/node_modules/plist
npm ERR! extraneous: progress@1.1.8 /Users/jinteki/Projects/vanilla-exponent/node_modules/progress
npm ERR! extraneous: rebound@0.0.13 /Users/jinteki/Projects/vanilla-exponent/node_modules/rebound
npm ERR! extraneous: regenerator-runtime@0.9.6 /Users/jinteki/Projects/vanilla-exponent/node_modules/regenerator-runtime
npm ERR! extraneous: stacktrace-parser@0.1.4 /Users/jinteki/Projects/vanilla-exponent/node_modules/stacktrace-parser
npm ERR! extraneous: temp@0.8.3 /Users/jinteki/Projects/vanilla-exponent/node_modules/temp
npm ERR! extraneous: whatwg-fetch@1.1.1 /Users/jinteki/Projects/vanilla-exponent/node_modules/whatwg-fetch
npm ERR! extraneous: ws@1.1.1 /Users/jinteki/Projects/vanilla-exponent/node_modules/ws
npm ERR! extraneous: xcode@0.8.9 /Users/jinteki/Projects/vanilla-exponent/node_modules/xcode
npm ERR! extraneous: xmldoc@0.4.0 /Users/jinteki/Projects/vanilla-exponent/node_modules/xmldoc
npm ERR! extraneous: yargs@3.32.0 /Users/jinteki/Projects/vanilla-exponent/node_modules/yargs
npm ERR! extraneous: yeoman-environment@1.5.3 /Users/jinteki/Projects/vanilla-exponent/node_modules/yeoman-environment
npm ERR! extraneous: yeoman-generator@0.21.2 /Users/jinteki/Projects/vanilla-exponent/node_modules/yeoman-generator
npm ERR! extraneous: react-native-maps@0.11.0 /Users/jinteki/Projects/vanilla-exponent/node_modules/react-native-maps
npm ERR! extraneous: react-native-svg@4.3.0 /Users/jinteki/Projects/vanilla-exponent/node_modules/react-native-svg
npm ERR! missing: react-native-maps@git+https://github.com/exponent/react-native-maps.git#12853f0, required by exponent@12.0.5
npm ERR! missing: react-native-svg@git+https://github.com/exponent/react-native-svg.git#51ff90cc, required by exponent@12.0.5
npm ERR! missing: jest-resolve@git+https://github.com/exponentjs/jest-resolve.git, required by jest-exponent@0.1.4
npm ERR! peer dep missing: react@^15.4.2, required by react-test-renderer@15.4.2
最佳答案
升级到最新的 NPM 版本 (4.1) 为我解决了这个问题(可以通过 npm install -g npm
完成)
关于node.js - 如何清除指数项目中未满足的对等依赖错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41581917/
我希望我的 C/C++ 客户端通过 SSL 验证服务器。我首先使用 从服务器下载了证书文件 openssl s_client -showcerts -connect www.openssl.org:4
我正在尝试学习使用 RSelenium。我坚持只是尝试使用 rsDriver 启动服务器。我只是想运行下面的代码并得到以下错误: rD = 8 x64 (build 9200) Matrix prod
我已经建立了一个 8 组织的单 channel 结构网络。我能够进行整个网络设置。但是设置成功后。一些 docker 实例停止监听它们各自的端口。当我做 docker ps -a它显示了一些对等节点图
如何在多个 Azure Kubernetes 集群上的 Pod 之间配置路由? 与 Google Cloud 上的 ip-alias/vpc-native 类似的内容 最佳答案 在 AKS 中,我认为
我正在尝试实现点对点连接应用程序。所以我想将 2 个以上的设备相互连接。如何为每对设备创建单独的 session 使用新的 GameKit 框架是否可以连接到 1 个以上的设备? 最佳答案 您可以使用
我一直致力于创建一个 VPC 对等连接,该连接可以使用 cloudformation 从 eu-west-1 与 us-east-1 进行对等。这是目前的云信息: AWSTemplateFormatV
我正在尝试在两个不同区域之间进行 vpc 对等互连。在这里我已经创建了资源,现在我只想将它们的 id 作为参数传递。在同一区域,我可以在两个 VPC 之间进行对等。但我在两个不同的区域收到错误,因为r
我是一名优秀的程序员,十分优秀!