Concrete
Rulesdependencies

concrete/dependencies/lockfile-missing

The workspace has no `package-lock.json`, so no dependency gate can be measured.

The workspace has no package-lock.json, so no dependency gate can be measured.

Graded by the dependencies stage of concrete check, in the tree venue. A violation reports this id and the file it failed at — see every rule and concrete check.

Reason

Every dependency gate reads the tree an install builds from a lockfile: the lockfile itself, the modules it installs, and the audit report derived from it. Without one there is nothing for any of them to read, and a tree laid out by another package manager is not the tree they grade. A workspace is also not reproducible without one — the platform re-checks a template from a clean install, which cannot run at all until the lockfile exists. So this is reported as coverage missing rather than as three gates passing.

Fix

Run an install and commit the lockfile it writes.

Before and after

my-template/
  package.json
  template.ts
  sections/
  fixtures/

No package-lock.json: nothing to install from, nothing to grade.

npm install
git add package-lock.json
git commit -m "add the lockfile"

On this page