I am trying to do an NPM install working as part of my build process. No problem for public NPM repos, but we also include repositories hosted in our Github account. For example:
"dependencies": {
"config": "^1.25.1",
"pg2iot": "git+ssh://git@github.com/[mycompanyhere]/[myprojectnamehere].git"
}
I have added my Github user key to the Circle project, but am still getting the following error:
[Build] npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror ssh://git@github.com/myco/myrepo.git /root/.npm/_git-remotes/git-ssh-git-github-com-my-co-my-repo-git-4f1b1a4f: undefined
[Build] npm ERR! Linux 4.7.3-coreos-r3
[Build] npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
[Build] npm ERR! node v6.9.4
[Build] npm ERR! npm v3.10.10
[Build] npm ERR! code ENOGIT
[Build]
[Build] npm ERR! not found: git
[Build] npm ERR!
[Build] npm ERR! Failed using git.
Any ideas what I am doing wrong?