Sunday, April 21, 2019

JavaScript - Angular - Installing Angular Material Module and dependencies

In order to install angular material module.  Let us install the following:

  • npm install @angular/material@6.4.7 --save
  • npm install @angular/cdk@6.4.7 --save
  • npm install @angular/animations@6.1.7 --save
  • npm install hammerjs@2.0.8 --save


Now, let us install the flex layout module:

npm install --save @angular/flex-layout@6.0.0-beta.18
npm WARN @angular/animations@6.1.7 requires a peer of @angular/core@6.1.7 but none is installed. You must install peer dependencies yourself.
npm WARN ajv-keywords@3.4.0 requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.8 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+ @angular/flex-layout@6.0.0-beta.18
added 1 package in 11.902s




No comments:

Post a Comment