AssertionError: Cannot find .runfiles directory for ./apps/carter/carter

======================================================================
Running on Remote

======================================================================
Traceback (most recent call last):
File “./apps/carter/carter”, line 375, in
Main()
File “./apps/carter/carter”, line 277, in Main
module_space = FindModuleSpace()
File “./apps/carter/carter”, line 112, in FindModuleSpace
raise AssertionError(‘Cannot find .runfiles directory for %s’ % sys.argv[0])
AssertionError: Cannot find .runfiles directory for ./apps/carter/carter
Connection to 192.168.xx.xx closed.

Could you describe your setup here such as what platform and what commands you had run? You’re using the deploy.sh script to build on an x86 host and then copy the runfiles to a target device for running or using bazel run on an x86 host directly?