Unable to install Microsoft Graph API

New Contributor

I tried to run the command  in poweshell for SPFx:

npm install @microsoft/microsoft-graph-types

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ @microsoft/microsoft-graph-types@1.12.0
removed 11 packages, updated 1 package and audited 1858 packages in 32.15s
found 2718 vulnerabilities (2291 low, 34 moderate, 386 high, 7 critical)
run `npm audit fix` to fix them, or `npm audit` for details

Below are the versions in my system:

+-- @angular/cli@6.1.1
+-- @microsoft/generator-sharepoint@1.9.1
+-- gulp@4.0.2
+-- install@0.13.0
+-- json-server@0.14.0
+-- minimatch@3.0.2
+-- npm@6.12.0
+-- typescript@2.9.2
`-- yo@3.1.0

0 Replies