Skip to content

npm install fails on a fresh clone: lockfile pins nuxt-component-meta to a dead pkg.pr.new URL #2

Closed

Description

@marvelefe

Context

A fresh clone cannot be installed. npm install / npm ci fails with E404 because package-lock.json pins the transitive dependency nuxt-component-meta (pulled in by @nuxt/content) to a pkg.pr.new preview URL that no longer resolves:

npm error 404 Not Found - GET https://pkg.pr.new/nuxt-component-meta@e3eb2c4
npm error 'nuxt-component-meta@https://pkg.pr.new/nuxt-component-meta@e3eb2c4' is not in this registry.

curl -s -o /dev/null -w "%{http_code}" https://pkg.pr.new/nuxt-component-meta@e3eb2c4 returns 404. This blocks every new contributor from running the app or tests.

What to do

  • Regenerate the lockfile so nuxt-component-meta resolves from the public npm registry (e.g. bump @nuxt/content to a release whose lock entry is a normal registry tarball, or add an explicit nuxt-component-meta devDependency and re-run npm install).
  • Remove the dead pkg.pr.new pin from package-lock.json.
  • Verify both npm ci and rm -rf node_modules package-lock.json && npm install succeed from clean.

Acceptance criteria

  • npm ci completes from a clean clone with no 404.
  • grep -c "pkg.pr.new" package-lock.json returns 0.
  • npm run dev and npm run test still work.

Getting started (files)

  • package-lock.json — the resolution at lines ~1877 and the package block at ~13068.
  • package.json — @nuxt/content version.
  • Reproduce with: git clean -xdf node_modules && npm ci.

Difficulty

Easy–medium (lockfile/registry mechanics).

Activity

  1. marvelefe commented on Oct 17, 2026

    @marvelefe
    OwnerAuthor

    Fixed in #19 — the lockfile entry for nuxt-component-meta now resolves from the npm registry instead of the dead pkg.pr.new URL. Verified npm ci succeeds from a clean clone and grep -c "pkg.pr.new" package-lock.json returns 0. This issue will close automatically when #19 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions