Skip to content

Update lockfile to use registry.npmjs.org for all packages - #2271

Merged
hustcer merged 1 commit into
nushell:mainfrom
taylormhall:fix/lockfile-npm-registry
Oct 23, 2026
Merged

hustcer merged 1 commit into
nushell:mainfrom
taylormhall:fix/lockfile-npm-registry

Conversation

@taylormhall

Copy link
Copy Markdown
Contributor

A number of entries in package-lock.json currently resolve
to registry.npmmirror.com.
npm 12 introduced a breaking change where --allow-remote defaults to none.
Running npm install on a fresh clone using npm 12 will now fail
with the following error:

Fetching packages of type "remote" have been disabled

This change allows npm install to work without any extra steps.

A number of entries in package-lock.json currently resolve
to registry.npmmirror.com.
npm 12 introduced a breaking change where --allow-remote defaults to none.
Running npm install on a fresh clone using npm 12 will now fail
with the following error:

    Fetching packages of type "remote" have been disabled

This change allows npm install to work without any extra steps.
@hustcer
hustcer merged commit 128bc7e into nushell:main Oct 23, 2026
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