kevinschaich / mintable

🍃 Automate your personal finances – for free, with no ads, and no data collection.
https://kevinschaich.io/mintable/
MIT License
1.53k stars 203 forks source link

Integrity errors on installation of mintable #119

Closed TristanBrotherton closed 2 years ago

TristanBrotherton commented 3 years ago
npm install -g mintable
npm ERR! code EINTEGRITY
npm ERR! sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== integrity checksum failed when using sha512: wanted sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm ERR! code EINTEGRITY
npm ERR! sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== integrity checksum failed when using sha512: wanted sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
/usr/local/bin/mintable -> /usr/local/lib/node_modules/mintable/lib/scripts/cli.js
+ mintable@2.0.1
added 191 packages from 226 contributors in 10.387s
npm ERR! Callback called more than once.
kevinschaich commented 2 years ago

More investigation needed to determine which subdependency is pulling in a deprecated version of axios here – help appreciated. Happy to update deps if we can track it down.

kevinschaich commented 2 years ago

@TristanBrotherton I think this is an issue with NPM installation rather than mintable.

I fixed it on my machine by running:

npm update -g npm
npm audit fix --force

No more integrity warning.