node2nix
node2nix copied to clipboard
404 error when running with a private repo
I dont know much a bout npm but there is this package at $DAYJOB I would like packaged as nix and it can't get a privcate repo even thoiugh I passed the token
It's pretty dull as an error message so I am not sure what else I can do to troubleshoot.
node2nix --registry-auth-token=dadas-dasdasd-dadasda-aa-asadsa
fetching local directory: ./. from .
info attempt registry request try #1 at 6:13:16 PM
http request GET https://registry.npmjs.org/@apollo%2Fclient
http 200 https://registry.npmjs.org/@apollo%2Fclient
info attempt registry request try #1 at 6:13:17 PM
http request GET https://registry.npmjs.org/@gitbeaker%2Fnode
http 200 https://registry.npmjs.org/@gitbeaker%2Fnode
info attempt registry request try #1 at 6:13:18 PM
http request GET https://registry.npmjs.org/@company%2Fprivateproject
http 404 https://registry.npmjs.org/@company%2Fprivateproject
Error: Not found : @company%2Fprivateproject
cc @fmnxl because of https://github.com/svanderburg/node2nix/pull/170
I don't use private repositories myself (the functionality in node2nix was contributed by others) so I'm not completely sure if I'm giving the right answer, but I've seen this happening when the credentials are wrong or when the repository is wrong.