npm2nix
npm2nix copied to clipboard
Generate nix expressions to build npm packages
I'm getting this error while generating a [package](https://github.com/vector-im/riot-web/blob/master/package.json) ``` fatal: remote error: github:matrix-org/react-gemini-scrollbar is not a valid repository name ``` The problem appears to be related to the github URL...
I get the following error: ``` http 404 https://registry.npmjs.org/%2540iamadamjowett%252Fangular-click-outside Error during fetch: Could not find version matching ^2.10.1 for @iamadamjowett/angular-click-outside in undefined ``` The full package.json file: ``` { "name":...
Just tried to apply npm2nix on [Abricotine](https://github.com/brrd/Abricotine). May it be, that npm2nix has troubles with that `@` in the dependency name? ``` npm2nix package.json default.nix ... Error during fetch: Could...
I had a problem with vector-im/vector-web using https url for git references https://github.com/vector-im/vector-web/blob/develop/package.json#L36 . npm2nix would incorrectly think it is an HTTP dep. This fixes it. May be related to...
This fixes npm2nix so it will run against the current npm registry. Without it I get a mess of 401s. Note that npmconf is deprecated, and that in the future...
Got a problem with scoped packages, they have a name like `@type/clone`, got the following in the output: ``` http 404 https://registry.npmjs.org/@types/clone/ Error during fetch: Error getting registry info for...
I'm trying to update `node-packages-generated.nix` in nixpkgs, after working for minutes sometimes it gets stuck in `ETIMEDOUT` or `ECONNRESET` errors. Perhaps the concurrency at which it downloads info from registry...
This fixes generated hashes after https://github.com/NixOS/nixpkgs/pull/15469. I don't really know *Script so I fixed regexp even though probably simple string comparison can be used now.
A user's ~/.npmrc might have, for example, a different registry URL, which could end up generating the wrong package set. This behavior can be disabled manually with `npm_config_userconfig=/dev/null npm2nix [...]`,...