Hello and Good day!
Just wanna reach out about an issue where my Netlify Deploy keys doesn’t work with my private NPM package dependencies.
I use the same Netlify Deploy key for both the Main App, and the Dependencies.
The Main App get’s pulled from our company git with no problems, but sadly the dependencies are having errors. I’m using the format git@gitlab.my-company.com:group/my-repo.git
in my package.json.
The console is stating
11:43:40 PM: npm
11:43:40 PM: ERR! Error while executing:
11:43:40 PM: npm ERR! /usr/bin/git ls-remote -h -t git@gitlab.my-company.com:group/my-repo.git
11:43:40 PM: npm ERR!
11:43:40 PM: npm
11:43:40 PM: ERR! Host key verification failed.
11:43:40 PM: npm ERR! fatal: Could not read from remote repository.
11:43:40 PM: failed during stage 'building site': Build script returned non-zero exit code: 1
11:43:40 PM: npm
11:43:40 PM: ERR!
11:43:40 PM: npm ERR! Please make sure you have the correct access rights
11:43:40 PM: npm ERR! and the repository exists.
11:43:40 PM: npm ERR!
I kindly ask, can somebody help me? Or could somebody point me in the right direction?
Thank you so much in advance.