YannickRe / spfx-msgraph-peoplesearch

Show and search users from your organization with an SPFx web part, through Microsoft Graph.
40 stars 33 forks source link

spfx-msgraph-peoplesearch - Issue with npm install #26

Closed rdormanHW closed 3 years ago

rdormanHW commented 3 years ago

I have cloned the repository and tried to run npm install in my environment within the top level directory, but keep receiving errors similar to the following:

npm WARN tar ENOENT: no such file or directory, open 'directorypath\spfx-msgraph-peoplesearch\node_modules.staging\office-ui-fabric-react-6e61ba8a\lib-commonjs\utilities\color\updateSV.d.ts' npm WARN tar ENOENT: no such file or directory, open 'directorypath\spfx-msgraph-peoplesearch\node_modules.staging\office-ui-fabric-react-6e61ba8a\lib-amd\utilities\color\updateT.d.ts' npm WARN tar ENOENT: no such file or directory, open 'directorypath\spfx-msgraph-peoplesearch\node_modules.staging\office-ui-fabric-react-6e61ba8a\lib-commonjs\utilities\color\updateT.d.ts'

Not entirely sure what I am doing wrong. Fairly new to spfx development, but I have successfully installed and modified other samples.

I have tried cloning through zip download and through GitHub desktop so I'm fairly sure I've got the whole repository.

Currently running npm version 14.15.5 which is a supported version for SPFX 1.12.1

I've attached an npm install log file in case that helps. 2021-06-07T11_09_43_301Z-debug.log

rdormanHW commented 3 years ago

Please ignore - managed to fix the issue by removing the package-lock.json. Have now successfully installed the web part.