Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regenerate package-lock.json #875

Closed

Conversation

dotlambda
Copy link

Otherwise installation fails with

npm ERR! request to https://registry.npmjs.org/url-join failed: cache mode is 'only-if-cached' but no cached response is available.
Relevant issues
Contributor checklist
  • Provide tests for the changes (unless documentation-only)
  • Documented any new features, CLI switches, etc. (if applicable)
    • Server --help output
    • README.md
    • doc/http-server.1 (use the same format as other entries)
  • The pull request is being made against the master branch
Maintainer checklist
  • Assign a version triage tag
  • Approve tests if applicable

@KernelDeimos
Copy link
Contributor

Hello, I'm not currently able to reproduce this. That said it's been a while since this was opened - are you still able to reproduce this issue?

@dotlambda
Copy link
Author

Yes, same issue on master:

npm error request to https://registry.npmjs.org/yallist failed: cache mode is 'only-if-cached' but no cached response is available.

I'm building with Nix's buildNpmPackage which uses npm config offline true.

@KernelDeimos
Copy link
Contributor

What causes this? I don't use NixOS so I'm not sure how buildNpmPackage works. Is it a hash that's stale, or do some packages need to be at specific versions which are in some Nix-specific repos, or is it something else?

@KernelDeimos
Copy link
Contributor

Closing due to no response, feel free to re-open if this issue persists.

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

Successfully merging this pull request may close these issues.

2 participants