Make WordPress Core

Opened 15 months ago

Last modified 5 months ago

#60202 new defect (bug)

unable to start wp-env

Reported by: vchiarello's profile vchiarello Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: reporter-feedback
Focuses: Cc:

Description (last modified by sabernhardt)

I try to start wp-env on my mac.

node -v -> v18.16.1
npm -v -> 9.5.1
docker is up and running

when I launch
wp-env start

I get the error below

Can someone help me?

Thanks in advance
Vito

✖ Error while running docker compose command.

#0 building with "desktop-linux" instance using docker driver

#1 [wordpress internal] load .dockerignore
#1 transferring context:
#1 transferring context: 2B 10.0s done
#1 DONE 10.1s

#2 [tests-wordpress internal] load .dockerignore
#2 transferring context: 2B 10.0s done
#2 DONE 10.1s

#3 [wordpress internal] load build definition from WordPress.Dockerfile
#3 transferring dockerfile: 2.02kB 10.0s done
#3 DONE 10.1s

#4 [tests-wordpress internal] load build definition from Tests-WordPress.Dockerfile
#4 transferring dockerfile: 2.03kB 10.0s done
#4 DONE 10.1s

#5 [tests-wordpress internal] load metadata for docker.io/library/wordpress:latest
#5 DONE 0.0s

#6 [wordpress  1/19] FROM docker.io/library/wordpress
#6 DONE 0.0s

#7 [wordpress  5/19] RUN sed -i '/stretch-updates/d' /etc/apt/sources.list
#7 CACHED

#8 [wordpress  6/19] RUN groupadd -o -g 20 v.chiarello || true
#8 CACHED

#9 [wordpress  7/19] RUN useradd -mlo -u 502 -g 20 v.chiarello || true
#9 CACHED

#10 [wordpress  2/19] RUN touch /etc/apt/sources.list
#10 CACHED

#11 [wordpress  4/19] RUN sed -i 's|security.debian.org/debian-security stretch|archive.debian.org/debian-security stretch|g' /etc/apt/sources.list
#11 CACHED

#12 [wordpress  3/19] RUN sed -i 's|deb.debian.org/debian stretch|archive.debian.org/debian stretch|g' /etc/apt/sources.list
#12 CACHED

#13 [wordpress  8/19] RUN apt-get -qy update
#13 CACHED

#14 [wordpress  9/19] RUN apt-get -qy install $PHPIZE_DEPS && touch /usr/local/etc/php/php.ini
#14 0.635 Reading package lists...
#14 1.544 Building dependency tree...
#14 1.634 Reading state information...
#14 1.850 0 upgraded, 0 newly installed, 0 to remove and 89 not upgraded.
#14 1.854 touch: cannot touch '/usr/local/etc/php/php.ini': No such file or directory
#14 ERROR: process "/bin/sh -c apt-get -qy install $PHPIZE_DEPS && touch /usr/local/etc/php/php.ini" did not complete successfully: exit code: 1
------
 > [wordpress  9/19] RUN apt-get -qy install $PHPIZE_DEPS && touch /usr/local/etc/php/php.ini:

1.544 Building dependency tree...
1.634 Reading state information...
1.850 0 upgraded, 0 newly installed, 0 to remove and 89 not upgraded.
1.854 touch: cannot touch '/usr/local/etc/php/php.ini': No such file or directory
------
failed to solve: process "/bin/sh -c apt-get -qy install $PHPIZE_DEPS && touch /usr/local/etc/php/php.ini" did not complete successfully: exit code: 1

Change History (3)

#1 @sabernhardt
15 months ago

  • Description modified (diff)

#2 @SergeyBiryukov
15 months ago

  • Component changed from General to Build/Test Tools

#3 @desrosj
5 months ago

  • Keywords reporter-feedback added

Hi @vchiarello,

Werlcome to Trac! My apologies that it took so long to receive a response. Are you still experiencing this issue?

Could you share more about how you have the environment configured? Are you using wp-env within the Gutenberg plugin? Your own? etc.

Note: See TracTickets for help on using tickets.