Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

Community 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.