- Java 双重比较
- java - 比较器与 Apache BeanComparator
- Objective-C 完成 block 导致额外的方法调用?
- database - RESTful URI 是否应该公开数据库主键?
这里需要什么?我尝试安装所有引用资料:
>npm install
hertz@1.0.0 C:...\BowerAndGrunt `-- UNMET PEER DEPENDENCY grunt@1.0.1
npm WARN grunt-cssc@0.2.6 requires a peer of grunt@~0.4.1 but none was installed. npm WARN hertz@1.0.0 No repository field. npm ERR! code 1
Package.json:
{
"name": "hertz",
"version": "1.0.0",
"description": "desc",
"main": "",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "legends",
"license": "MIT",
"dependencies": {
"grunt": "^1.0.1"
},
"devDependencies": {
"grunt": "^1.0.1",
"grunt-contrib-concat": "1.0.1",
"grunt-contrib-csslint": "1.0.0",
"grunt-contrib-cssmin": "1.0.2",
"grunt-contrib-jshint": "1.0.0",
"grunt-contrib-sass": "1.0.0",
"grunt-contrib-uglify": "2.0.0",
"grunt-contrib-watch": "1.0.0",
"grunt-htmlhint": "0.9.13",
"jshint-stylish": "^2.2.1",
"matchdep": "1.0.1"
}
}
最佳答案
做
npm install --save-dev grunt
这是因为 grunt-cssc 需要安装 grunt 但您没有在 pacakge json 中定义它。阅读更多关于对等依赖的信息
https://nodejs.org/en/blog/npm/peer-dependencies/
编辑:
因为它要求的是一个低于版本 1 的 grunt。通过以下链接在 npm 中 checkout semver:
github.com/npm/node-semver#tilde-ranges-123-12-1
基本上这意味着您的 cssc 库需要 grunt 0.4 而不是 grunt 1,但希望它也能与 grunt 1 一起工作。
你可以联系 lib 作者,让他也升级到支持 grunt 1。
关于node.js - 警告 grunt-cssc@0.2.6 需要 grunt@~0.4.1 的对等体,但没有安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39317145/
我希望我的 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
我是一名优秀的程序员,十分优秀!