我正在local Hyperledger Composer dev environment
上为MacBook Pro (MacOS 10.13.2)
安装NPM
,并在npm install -g composer-cli
的输出中显示弃用/包名称更改消息。要进行安装,我按照此位置的说明进行操作:
https://hyperledger.github.io/composer/installing/development-tools.html
我的问题是我是否需要根据这些消息采取行动(见下文),还是我可以继续?请原谅这个基本问题,但在Mac上的这个工作水平上我是一个新手 - 我正在Coursera.org上为Hyperledger课程做这件事。
这是我运行的命令:npm WARN deprecated fs-promise@1.0.0: Use mz or fs-extra^3.0 with Promise Support
npm WARN deprecated crypto@0.0.3: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
npm WARN deprecated jade@1.11.0: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated transformers@2.1.0: Deprecated, use jstransformer
npm WARN deprecated nodemailer@2.7.2: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/
......以下是输出的前几行:
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
然后再向下走了一点,我明白了:
npm install -g composer-playground
继续关注Joe Clay的回复,现在只需运行此命令:npm WARN ngx-clipboard@8.0.4 requires a peer of @angular/core@>=4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-clipboard@8.0.4 requires a peer of @angular/common@>=4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-clipboard@8.0.4 requires a peer of @angular/platform-browser@>=4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-clipboard@8.0.4 requires a peer of core-js@>=2.4.1 but none is installed. You must install peer dependencies yourself.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.0-beta.2 requires a peer of @angular/core@^4.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.0-beta.2 requires a peer of @angular/common@^4.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN @ng-bootstrap/ng-bootstrap@1.0.0-beta.2 requires a peer of @angular/forms@^4.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-window-token@0.0.2 requires a peer of @angular/core@>=2.4.1 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-window-token@0.0.2 requires a peer of @angular/common@>=2.4.1 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-window-token@0.0.2 requires a peer of @angular/platform-browser@>=2.4.1 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-window-token@0.0.2 requires a peer of core-js@>=2.4.1 but none is installed. You must install peer dependencies yourself.
...并在NPM输出结束时收到以下警告:
Class Student
现在将继续,看看这些警告是否会影响最终的开发环境。对于向学生提供类似代码的IBM人群有点失望:(
非常感谢您的帮助!
欢呼,劳伦斯答案 0 :(得分:0)
赞同Joe Clay的回应,你可以忽略他所阐述的那些信息。 peerDependencies在package.json中定义(指Playground所依赖的Angular消息)。
Hyperledger由许多成员组成(不仅仅是IBM请注意) - 请点击此处查看更多内容 - > https://www.hyperledger.org/members为Hyperledger Compoer(一个这样的孵化项目)等项目提供代码