The SHA512 integrity check is created upon npm install which is different in my local machine vs the same code in git CI. My local environment is windows 10 and in GIT CI I am using node:10-alpine docker image.
In Windows:
npm notice name: chart-comp
npm notice version: 0.0.1
npm notice package size: 1.0 MB
npm notice unpacked size: 4.6 MB
npm notice shasum: cbf5c63bc34ae8128528d0a2e5fa13b6790b8a40
npm notice integrity: sha512-WLecytIRPiWKJ[...]MiP/bbOmmA7uQ==
npm notice total files: 3
In node:10-alpine
100 npm notice name: chart-comp
101 npm notice version: 0.0.1
102 npm notice package size: 1.0 MB
103 npm notice unpacked size: 4.6 MB
104 npm notice shasum: 01a64b8955ac1a0d05e8e13c0dee89987935079f
105 npm notice integrity: sha512-01anWdE/r03VO[...]yD5hVsfmsQarQ==
106 npm notice total files: 3
I tried the following 1. npm clear cache 2. delete the node_modules 3. deleting the cache in the windows folder
Really stuck on this and the only way i could think of is to git-ignore package-lock.json but thats a very bad idea.