Hi, I am trying to run the following command to bu...
# ask-the-community
y
Hi, I am trying to run the following command to build local env:
Copy code
git clone <https://github.com/flyteorg/flyte.git> 
cd flyte
sudo make compile 
flyte start --config flyte_local.yaml
But after I ran
sudo make compile
to build flyte I got following error. Wondering if I can get some hints on this(It previously works, not sure why it fails now ). Thank you in advance.
Copy code
root@ip-172-31-7-58:/home/ubuntu/flyte# make compile
script/get_flyteconsole_dist.sh
++ uname -m
+ ARCH=x86_64
+ case ${ARCH} in
+ IMAGE_ARCH=amd64
+ FLYTECONSOLE_IMAGE=<http://ghcr.io/flyteorg/flyteconsole:latest|ghcr.io/flyteorg/flyteconsole:latest>
++ docker manifest inspect --verbose <http://ghcr.io/flyteorg/flyteconsole:latest|ghcr.io/flyteorg/flyteconsole:latest>
++ jq --arg IMAGE_ARCH amd64 --raw-output '.[] | select(.Descriptor.platform.architecture == $IMAGE_ARCH) | .Descriptor.digest'
+ IMAGE_DIGEST=sha256:37cb40ebac15ea7b9aa612a1ac16779079e18e316274dac701383bf13edbf711
+ '[' -f cmd/single/dist/.digest ']'
++ docker create <http://ghcr.io/flyteorg/flyteconsole:latest|ghcr.io/flyteorg/flyteconsole:latest>
+ CONTAINER_ID=f91fd9eca41e682c61b25bd6db42ba02205fd63005893e1ab065fb1cb6549729
+ trap 'docker rm -f ${CONTAINER_ID}' EXIT
+ rm -rf cmd/single/dist
+ docker cp f91fd9eca41e682c61b25bd6db42ba02205fd63005893e1ab065fb1cb6549729:/app/dist cmd/single/
Error response from daemon: Could not find the file /app/dist in container f91fd9eca41e682c61b25bd6db42ba02205fd63005893e1ab065fb1cb6549729
+ docker rm -f f91fd9eca41e682c61b25bd6db42ba02205fd63005893e1ab065fb1cb6549729
f91fd9eca41e682c61b25bd6db42ba02205fd63005893e1ab065fb1cb6549729
make: *** [Makefile:17: cmd/single/dist] Error 1
s
Hey @jeev! You have any idea what might be causing the error?
j
ah yes. i believe this is because the flyteconsole changed considerably. we will need to patch this script.
i’ll push a fix a bit later
y
Thank you! That’s helpful!
105 Views