Expand my Community achievements bar.

npm ERR! code EINTEGRITY while running -PautoInstallSinglePackage

Avatar

Level 1

[INFO] npm ERR! code EINTEGRITY
[INFO] npm ERR! sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== integrity checksum failed when using sha512: wanted sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== but got sha512-iX4OxyodFUKXgUn1ItuEC8EuYl6ioM9cW9xjWF5sqU+7ul7sXSK1pZbwkLlgF44V7DuvyFNaTKZUe4GekpsvCQ==. (4584 bytes)

 

I have this error when trying to run the command "mvn clean install -PautoInstallSinglePackage" in the npm install step of ui.frontend.

2 Replies

Avatar

Level 1

i already tried clearing all caches and updating node version

Avatar

Employee Advisor

Hi @AntonioPagotto ,


You can refer this link and might be useful to you : https://stackoverflow.com/questions/47545940/when-i-run-npm-install-it-returns-with-err-code-eintegr...


Also, here is a universal solution to all EINTEGRITY errors:

$ cd <project_directory>
$ rm -rf package-lock.json npm-shrinkwrap.json node_modules
$ npm cache clean --force
$ npm cache verify
$ npm install

Thanks.