adapt
adapt copied to clipboard
Initial make build gives git permission error cloning adapt-web
When cloning adapt and building for a first time developer user, make build fails, giving a permission error when trying to clone the adapt-web repo. The error is simliar to this:
git clone [email protected]:unboundedsystems/adapt-web.git web
Cloning into 'web'...
Warning: Permanently added the ECDSA host key for IP address '172.65.251.78' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
/src/config/build_support/web.mk:30: recipe for target 'web/.git' failed
make: *** [web/.git] Error 128
make: *** [/home/tdyas/Projects/Adapt/adapt/config/build_support/dockerize.mk:36: .DOCKER_MAKE_DONE] Error 2
Workaround
Clone the adapt-web repo manually before doing make build. From the adapt repo root:
git clone [email protected]:unboundedsystems/adapt-web.git web
Then, a subsequent make build should work correctly.