angular中安装ng-alain 插件

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

你可能感兴趣的:(自我心的,Web实践之路)