Open samueltardieu opened 3 months ago
Steps to reproduce the behavior:
Cf. the full log.
npm ERR! code 1 npm ERR! path /nix/store/swz0bgghdfa6h8dmrzlprv1sjihnhf8a-webtorrent-cli-5.1.0/lib/node_modules/webtorrent-cli/node_modules/node-datachannel npm ERR! command failed npm ERR! command sh -c prebuild-install -r napi || (npm install --ignore-scripts --production=false && npm run _prebuild) npm ERR! prebuild-install warn install getaddrinfo EAI_AGAIN github.com npm ERR! npm WARN config production Use `--omit=dev` instead. npm ERR! npm ERR! code ENOTCACHED npm ERR! npm ERR! request to https://registry.npmjs.org/prebuild-install failed: cache mode is 'only-if-cached' but no cached response is available. npm ERR!
Add any other context about the problem here.
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
nix-shell -p nix-info --run "nix-info -m"
$ nix-shell -p nix-info --run "nix-info -m" - system: `"x86_64-linux"` - host os: `Linux 6.6.32, NixOS, 24.11 (Vicuna), 24.11.20240613.e9ee548` - multi-user?: `yes` - sandbox: `yes` - version: `nix-env (Nix) 2.18.2` - channels(root): `"nixos, nixos-hardware"` - nixpkgs: `/home/sam/.nix-defexpr/channels/nixpkgs`
Add a :+1: reaction to issues you find important.
yes I had the same issue.
It seems like the package tries to download additional things while building. When providing a patch please consider converting the package to buildNpmPackage
Steps To Reproduce
Steps to reproduce the behavior:
Build log
Cf. the full log.
Additional context
Add any other context about the problem here.
Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.