• Resolved antonials

    (@antonials)


    Hi!

    We are having problems running an older project locally with wp-env. We are currently using Docker version 20.10.17 and Docker Compose version v2.4.1.
    and get this error with wp-env start:

    Error: spawn docker-compose ENOENT
        at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
        at onErrorNT (node:internal/child_process:477:16)
        at processTicksAndRejections (node:internal/process/task_queues:83:21) {
      errno: -2,
      code: 'ENOENT',
      syscall: 'spawn docker-compose',
      path: 'docker-compose',
      spawnargs: [
        '-f',
        '/home/astrutzenberger/wp-env/58985d03f377084efeb844eaaf1d037e/docker-compose.yml',
        'up',
        '-d',
        'mysql'
      ]
    }

    The ‘docker-compose’ command doesn’t exist in the new version and was changed to ‘docker compose’.
    Are there any plans to upgrade Docker and Docker Compose for wp-env?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘@wordpress/env not working with new docker version’ is closed to new replies.