npm installation cnpm error code EINTEGRITY
error display
PS C:\Users\by\Desktop\element_ui_demo> npm install –g/. npm
npm ERR! EINTEGRITY code
npm ERR! sha512-DowXzQwtSWDtbAjuWecuEiismR0VdNEYaL3VxNTYTdW6AGkYxfGk9LUZ/rt6etEyiH4IEk95HkJeGfXE5Rz9xQ== integrity checksum failed when using sha512: wanted sha512-DowXzQwtSWDtbAjuWecuEiismR0VdNEYaL3VxNTYTdW6AGkYxfGk9LUZ/rt6etEyiH4IEk95HkJeGG4But got sha512-tHlXGeHDDxcwcfwJc/dRDLcLCtuq5y9ATPgiG9tkyLom4u9Yqc+nRbk0JI7c2biglh8jwsUIseBIivimVFmZQg==. ( 5156776 bytes)
because npm version has been detected
If there is a package-lock.json file, it will be 21024;
2.Administrator privileged to cmd
3.executnpm cache clean –force
After
4.npm install -g npm
5npm -vCheck version
Similar Posts:
- Cannot read property ‘match’ of undefined
- [Solved] NPM i error: Legacy peer DEPs (Version Problem)
- Vue3.0+Element-plus Error: Uncaught SyntaxError: The requested module ‘/node_modules/.vite/vue.js?v=47282544’ does not provide an export named ‘createElementBlock’
- Project startup error: related to modules and node versions
- jenkins+sonar-scanner Scan Error: Failed to find ‘typescript’ module.Please check, NODE_PATH contains location of global ‘typescript’ or install locally in your project
- [Solved] Docker npm install: npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY.. reason: unable to get local issuer certificate
- How to Use Yarn instead of NPM
- [antd vue Update] Some Components Error: Error in data(): “TypeError” & Cannot read properties of undefined (reading ‘pageSize’)
- [Solved] ImportError: ERROR: recursion is detected during loading of “cv2” binary extensions. Check OpenCV installation.
- How to solve the problem of diff: /. / podfile.lock: no such file or directory