Skip to content

Error: spawn docker-compose ENOENT #756

Closed Answered by qingxuantang
qingxuantang asked this question in Q&A
Discussion options

You must be logged in to vote

OK... I resolved this error with the following code:

sudo apt install docker-compose

Then cd into next folder and remove node_modules folder in case there's any corrupted modules; and reinstall:
cd next
sudo rm -r node_modules
npm install

Then update docker-compose and docker.
sudo apt install --upgrade docker-compose
sudo apt install --upgrade docker

The agent is now up and running. If anyone encountered something similar, hope this may help.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@adunderground
Comment options

Answer selected by qingxuantang
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants