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.
1 Reply
_galilei
_galilei2y ago
Make sure you're using the same version of npm as other members of your team. This problem seems not to be jenkins related
Want results from more Discord servers?
Add your server