npm2nix
npm2nix copied to clipboard
Relative file paths in package.json are treated as github URLs
Using node 0.12.0.
When you have a dependency list like the following:
"dependencies": {
"mymodule": "./node_modules/mymodule",
"jquery": "~1.11.1",
},
You get an error like this:
Error during fetch: Error fetching git://github.com/./node_modules/mymodule from git: Error executing git clone: Error: spawn git ENOENT
Have also tried with the following:
"dependencies": {
"mymodule": "file:./node_modules/mymodule",
"jquery": "~1.11.1",
},