Closed bizzyvinci closed 2 months ago
Hello @bizzyvinci, do you have Docker deamon running in the background ? What's your OS?
Yes, docker daemon is running and the OS is MacOS (M1). But I got the same error in Kali-Linux.
When the daemon is not running, I'll get
{
exitCode: 1,
err: 'time="2024-08-11T13:44:44+01:00" level=warning msg="PWD/node_modules/@axelar-network/axelar-local-dev-cosmos/docker/traefik/docker-compose.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"\n' +
'Cannot connect to the Docker daemon at unix:///Users/user/.docker/run/docker.sock. Is the docker daemon running?\n',
out: ''
}
PWD/node_modules/@axelar-network/axelar-local-dev-cosmos/dist/utils.js:104
throw new Error(`File not found at path: ${path}`);
^
The issue is that the repo works with docker compose V1, and not V2. This answer about installing V1 worked
V1: docker-compose ps V2: docker compose ps
Just using alias docker-compose="docker compose"
does not work.
The issue is that the repo works with docker compose V1, and not V2. This answer about installing V1 worked
V1: docker-compose ps V2: docker compose ps
Just using
alias docker-compose="docker compose"
does not work.
Got it. Thanks for flagging this. We currently use v1 and periodically update the dependencies, which we will consider adding this update as well. cc: @npty
After setting cosmos to
true
inconfig/default.json
according to the READMEnpm run start
results in an errorPWD: is the working directory which is the cloned axelar-example repo And traefik container is running in docker desktop