NPM and NODE errors

I clone a repo from bitbucket, delete the existing package-lock file then run npm install, make some changes on the code. When i run npm build or npm ci locally everything is ok. When i commit and the ci tool we use (jenkins) gives errors sayin!!!! "
npm ci
can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with
npm install
before continuing."!!!! This happens only on my machine, every other in the team has no problems with the jenskins.
Was this page helpful?