angular中安装ng-alain 插件

版权声明:.net/web/医疗技术的木子纵横的个人分享 https://blog.csdn.net/muzizongheng/article/details/85246899
ng-alain官方给的安装如下:
ng new demo --style less
cd demo
ng add ng-alain
ng serve

但是ng add报错。 最终还是按照npm来安装的

λ npm install ng-alain --save
npm WARN [email protected] requires a peer of @angular-devkit/core@^0.6.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular-devkit/schematics@^0.6.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @schematics/angular@^0.6.1 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 1 package in 18.948s

猜你喜欢

转载自blog.csdn.net/muzizongheng/article/details/85246899