0

I am trying to setup the development environment for SharePoint framework as per the procedure mentioned in below article.

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment

But whenever i am running the command to install yeomen like npm install -g yo, I have through with the EINTEGRITY error.

I have attached the log file of the error. Please have a look and help me to sort out this issue.

Thanks.

Log information:

6594 http fetch GET 200 http://registry.npmjs.org/core-util-is 85ms (from cache)
6595 http fetch GET 200 http://registry.npmjs.org/copy-descriptor 85ms (from cache)
6596 http fetch GET 200 http://registry.npmjs.org/create-error-class 85ms (from cache)
6597 http fetch GET 200 http://registry.npmjs.org/crypto-random-string 85ms (from cache)
6598 http fetch GET 200 http://registry.npmjs.org/currently-unhandled 85ms (from cache)
6599 http fetch GET 200 http://registry.npmjs.org/decamelize 85ms (from cache)
6600 http fetch GET 200 http://registry.npmjs.org/dashdash 85ms (from cache)
6601 http fetch GET 200 http://registry.npmjs.org/component-emitter 116ms (from cache)
6602 http fetch GET 200 http://registry.npmjs.org/decode-uri-component 116ms (from cache)
6603 http fetch GET 200 http://registry.npmjs.org/clone-stats 148ms (from cache)
6604 http fetch GET 200 http://registry.npmjs.org/clone 148ms (from cache)
6605 verbose stack Error: sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= integrity checksum failed when using sha1: wanted sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= but got sha512-5XDJk3Jhab/NIfR8uKXOUf0ODKXxBWAdpT1hMM/aI6Dkf1Ppl+MkATnYcaTxiLtrt0hnMJaf6Yh/QFUeV9PL1g== sha1-wDNFbFia4MLN8cKcXs6dIIfB8vw=. (1595 bytes)
6605 verbose stack     at Transform.on (C:\Program Files\nodejs\node_modules\npm\node_modules\ssri\index.js:310:19)
6605 verbose stack     at emitNone (events.js:111:20)
6605 verbose stack     at Transform.emit (events.js:208:7)
6605 verbose stack     at endReadableNT (_stream_readable.js:1064:12)
6605 verbose stack     at _combinedTickCallback (internal/process/next_tick.js:139:11)
6605 verbose stack     at process._tickCallback (internal/process/next_tick.js:181:9)
6606 verbose cwd C:\Users\MyUSERID
6607 verbose Windows_NT 10.0.15063
6608 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "yo"
6609 verbose node v8.15.1
6610 verbose npm  v6.4.1
6611 error code EINTEGRITY
6612 error sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= integrity checksum failed when using sha1: wanted sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= but got sha512-5XDJk3Jhab/NIfR8uKXOUf0ODKXxBWAdpT1hMM/aI6Dkf1Ppl+MkATnYcaTxiLtrt0hnMJaf6Yh/QFUeV9PL1g== sha1-wDNFbFia4MLN8cKcXs6dIIfB8vw=. (1595 bytes)
6613 verbose exit [ 1, true ]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.