Skip to content

fix: updated package-lock with official registry#59

Closed
Spiral-Memory wants to merge 1 commit intoopenyurtio:masterfrom
Spiral-Memory:fix/npm-registry-issue
Closed

fix: updated package-lock with official registry#59
Spiral-Memory wants to merge 1 commit intoopenyurtio:masterfrom
Spiral-Memory:fix/npm-registry-issue

Conversation

@Spiral-Memory
Copy link
Copy Markdown

@Spiral-Memory Spiral-Memory commented May 26, 2025

PR Description

Fixes #58
Fix broken install caused by mirror registry URLs
This PR replaces mirror registry URLs in package-lock.json with the official npm registry (https://registry.npmjs.org/).

Solution:

  • Tried using .npmrc and config changes, but those didn't help since the lockfile was already resolved with mirror URLs. Regenerating the lockfile caused version mismatches.

  • Hence, Manually edited package-lock.json to match the structure of the official registry (e.g., using /-/ instead of /downloads/, removing extra URL params).

Now installs cleanly and compiles as expected.

Screenshots

image
image

Note: Since this PR involves manual editing of package-lock.json, a thorough review on another system is recommended before merging.

@karanngi
Copy link
Copy Markdown
Contributor

already fixed here #57

@Spiral-Memory
Copy link
Copy Markdown
Author

Oh okay, @karanngi

That PR didn’t mention “fix issue #58,” so I wasn’t aware. Thanks for the heads-up!

I’m closing this PR - can be seen as a reference if needed later.

Thanks!

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.

[bug/dependency] npm install Fails Due to Registry Mismatch

2 participants