I have a large Visual Studio solution (running VS 2017) where some projects contain AngularJS (1.4.7) and some contain Angular (2.0). I don't think that's a problem, just making full disclosure.
I am currently trying to install Angular Material for use in the Angular project.
First question: are material and material2 synonymous? I know there's a material for AngularJS, and I know there's a material for Angular, but they seem to use them interchangeably - or at least drop the version number occasionally. I go to install material2 and I find myself installing material. I am hoping that it is just taking care of the correct versioning for me.
Using Powershell in my node_modules/@angular directory, I am running this:
npm install --SAVE angular-material
But this is what I get:
[email protected] C:\proj\ClientPortal\dev\Leaves\MorneauShepell.ClientPortal\MorneauShepell.ClientPortal.Web
+-- UNMET PEER DEPENDENCY angular@>=1.3 <1.7
+-- UNMET PEER DEPENDENCY angular-animate@>=1.3 <1.7
+-- UNMET PEER DEPENDENCY angular-aria@>=1.3 <1.7
`-- [email protected]
[email protected] C:\proj\ClientPortal\dev\Leaves\myCo.ClientPortal\myCo.ClientPortal.Web
+-- UNMET PEER DEPENDENCY angular@>=1.3 <1.7
+-- UNMET PEER DEPENDENCY angular-animate@>=1.3 <1.7
+-- UNMET PEER DEPENDENCY angular-aria@>=1.3 <1.7
`-- [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any
"} (current: {"os":"win32","arch":"x64"})
npm WARN [email protected] requires a peer of angular@>=1.3 <1.7 but none was installed.
npm WARN [email protected] requires a peer of angular-animate@>=1.3 <1.7 but none was installed.
npm WARN [email protected] requires a peer of angular-aria@>=1.3 <1.7 but none was installed.
I'm afraid I don't know why it's complaining or what do about it.