Error code

npm ENOLOCK

NPMENOLOCK
Runtime Error Code· An error code from a programming runtime or package manager, like Node.js or npm.

What it means

npm requires a package-lock.json (or npm-shrinkwrap.json) but none was found.

How to fix it

  1. Commit package-lock.json to your repository.
  2. Run npm install locally to generate the lockfile before running CI.
  3. Do not add package-lock.json to .gitignore.

Not affiliated with npm. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.