adaptrepo directory and trying
make cleaner; make build. That will do a complete cleanup, then build everything from scratch, using the containerized dev environment instead of your local system's tools and environment. Generally speaking, you shouldn't build or test using your system's native tools and environment, but rather use the containerized version of those, which can be found in the
bindirectory at the top level of the adapt repo. So instead of running
yarn buildin the cloud directory, you'd run
../bin/yarn build. And by using
makeinstead of directly calling
yarn, that ensures that dependencies have definitely been correctly (re-)built.
cloud/awschanges and try
make cleaner; make buildagain? Then, let me know the results and I can help you troubleshoot more from there.
make cleaner && make buildfails due to no access to adapt-web repo:
git clone email@example.com:unboundedsystems/adapt-web.git web Cloning into 'web'... Warning: Permanently added the ECDSA host key for IP address '18.104.22.168' 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
make buildagain. It is somewhat possible that it still gives a permissions error in that context though. If you still see the permissions error, try the manual clone as suggested above. And either way, let me know how that goes and I'll file a bug if needed.
kirkb@DESKTOP-5BF58I3 MINGW64 /e/Sites/wud/deploy
$ adapt run k8s-test --deployID app-test
[13:23:59] Installing node modules [started]
[13:24:02] Installing node modules [failed]
[13:24:02] → EBUSY: resource busy or locked, rmdir 'E:\Sites\wud\deploy'
Error: EBUSY: resource busy or locked, rmdir 'E:\Sites\wud\deploy'
THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
yarn lockfile v1