Skip to content

Conversation

taeold
Copy link
Contributor

@taeold taeold commented Mar 23, 2022

Unsure why, but our Github Actions started failing w/ following error message:

Run npm install
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://npm.community/>

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/runner/.npm/_logs/2022-03-23T21_54_22_030Z-debug.log
Error: Process completed with exit code 1.

We fix this error by replacing npm ci in place of npm i. It turned out that our package.json and package-lock.json were out of sync, so we update package-lock.json here too.

@taeold taeold requested review from inlined and colerogers March 23, 2022 21:56
@taeold taeold merged commit 6d146aa into master Mar 28, 2022
@taeold taeold deleted the dl-fix-npm-i branch March 28, 2022 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants