创建新的Nativescript角度项目警告-同级

时间:2019-07-14 19:28:08

标签: angular nativescript tns

执行tns create name-proj(Angular + Drawer模板)会生成如下警告。

  1. 我在执行tns create命令后粘贴了整个日志,并且上面有警告。

  2. 我还打印了命令的日志:

    ng --version

    节点-v

    npm -v

npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN @angular/http@8.0.0-beta.10 requires a peer of @angular/core@8.0.0-beta.10+1.sha-a28b3e3 but none is installed. You must install peer dependencies yourself. npm WARN @angular/http@8.0.0-beta.10 requires a peer of @angular/platform-browser@8.0.0-beta.10+1.sha-a28b3e3 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@8.0.1 requires a peer of @angular/platform-browser-dynamic@8.0.0 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@8.0.1 requires a peer of @angular/common@8.0.0 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@8.0.1 requires a peer of @angular/compiler@8.0.0 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@8.0.1 requires a peer of @angular/core@8.0.0 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@8.0.1 requires a peer of @angular/forms@8.0.0 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@8.0.1 requires a peer of @angular/platform-browser@8.0.0 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@8.0.1 requires a peer of @angular/router@8.0.0 but none is installed. You must install peer dependencies yourself. npm WARN nativescript-angular@8.0.1 requires a peer of zone.js@^0.8.4 but none is installed. You must install peer dependencies yourself. npm WARN codelyzer@4.5.0 requires a peer of @angular/compiler@>=2.3.1 <8.0.0 || >7.0.0-beta <8.0.0 but none is installed. You must install peer dependencies yourself. npm WARN codelyzer@4.5.0 requires a peer of @angular/core@>=2.3.1 <8.0.0 || >7.0.0-beta <8.0.0 but none is installed. You must install peer dependencies yourself.

MacBook-Pro:ANGULARNATIVE$ ng --version
Angular CLI: 8.1.0
Node: 10.16.0
OS: darwin x64
MacBook-Pro:ANGULARNATIVE$ npm -v
6.9.0

0 个答案:

没有答案