Describe the bug
docker-compose is not working anymore because docker updated this command to docker compose, and then some commands of this library that are using docker-compose are not working anymore, like:
const { node } = hre.chainlink.sandbox;
await node.run();
To Reproduce
In order to reproduce this, I am using MacOS with Docker version v4.32.0, and node version 18.20.3, and then running the following code:
const { node } = hre.chainlink.sandbox;
await node.run();
Where I find the following error:
Error: spawn docker-compose ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:284:19)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
error Command failed with exit code 1.
I was able to make it work by installing docker-compose using brew, but this step should not be needed and it was not needed before.
Expected behavior
There should not be any error from running the code, as it was working before docker newer versions. For doing so it is needed to adapt the library code to use docker compose instead of docker-compose
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Mac OS
- Node Version 18.20.3
- Hardhat Version ^2.17.1
- Docker Version 4.32.0
Describe the bug
docker-composeis not working anymore because docker updated this command todocker compose, and then some commands of this library that are usingdocker-composeare not working anymore, like:To Reproduce
In order to reproduce this, I am using MacOS with Docker version v4.32.0, and node version 18.20.3, and then running the following code:
Where I find the following error:
I was able to make it work by installing
docker-composeusing brew, but this step should not be needed and it was not needed before.Expected behavior
There should not be any error from running the code, as it was working before docker newer versions. For doing so it is needed to adapt the library code to use
docker composeinstead ofdocker-composeScreenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):