[Nix-dev] npm2nix issue: github:metaraine/semver-utils is not a valid repository name
Tinker
tinkerthaler at gmail.com
Thu Aug 13 03:19:42 CEST 2015
Hi
I have some problems with the npm2nix command:
npm2nix node-packages.json node-packages-generated.nix
I get the following error (more or less, logs are a bit messy):
...
fatal: remote error:
github:metaraine/semver-utils is not a valid repository name
Email support at github.com for help
...
Error during fetch: Error fetching
git://github.com/github:metaraine/semver-utils.git#86ea225 from git:
git clone exited with non-zero status code 128
(I have git version 2.3.2 installed)
Any ideas?
I've been searching a bit how the script ends up fetching that github
url but couldn't really figure it out.
If I clone it manually:
git clone git://github.com/github:metaraine/semver-utils.git
-> does not work
git clone git://github.com/github/metaraine/semver-utils.git
-> works (replaced colon between github and metaraine)
However, where does github:metaraine come from? Found one references
to it on github:
https://github.com/tjunnone/npm-check-updates/blob/8ae377706a956724ab42b28b1ffd5ea33dfdebcc/package.json
FYI
git diff node-packages.json
diff --git a/pkgs/top-level/node-packages.json
b/pkgs/top-level/node-packages.json
index 11fd19a..97a9eab 100644
--- a/pkgs/top-level/node-packages.json
+++ b/pkgs/top-level/node-packages.json
@@ -118,6 +118,7 @@
, "browserify"
, "uglify-js"
, "less"
+, "less-plugin-clean-css"
, "mocha-phantomjs"
, "phantomjs"
, "sinon"
Thanks!
More information about the nix-dev
mailing list