greenkeeperio / greenkeeper-lockfile

:lock: Your lockfile, up to date, all the time
https://greenkeeper.io
182 stars 73 forks source link

greenkeeper PRs fail on first commit because the lockfile is not updated #177

Open jonathanong opened 6 years ago

jonathanong commented 6 years ago

what's the solution?

screen shot 2018-06-29 at 15 38 37 screen shot 2018-06-29 at 15 38 46
Realtin commented 6 years ago

What does the error on the CI say? Could it be that the CI runs npm ci to install, which fails if package.json and package-lock.json are out of sync. The solution for that is to define the install command to be npm install instead.