Title: Problem with wp-env
Last modified: May 24, 2023

---

# Problem with wp-env

 *  Resolved [Mahrokh](https://wordpress.org/support/users/maahrokh/)
 * (@maahrokh)
 * [3 years ago](https://wordpress.org/support/topic/problem-with-wp-env/)
 * Hi,
 * I am using w-env to develop a block
   But when I run “wp-env start” and it stops
   with an error:
 * **20 [17/17] RUN composer global require –dev yoast/phpunit-polyfills:”^1.0″**
 * **20 ERROR: process “/bin/sh -c composer global require –dev yoast/phpunit-polyfills:\”
   ^1.0\”” did not complete successfully: unable to find user Mahrokh: no matching
   entries in passwd file**
 * I am using windows 10 and installed Docker Desktop, Git and “npm -g install [@wordpress](https://wordpress.org/support/users/wordpress/)/
   env”
 * “Mahrokh” is the user name of my Windows
 * Thank you for any help
    -  This topic was modified 3 years ago by [Mahrokh](https://wordpress.org/support/users/maahrokh/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Paulo Pinto](https://wordpress.org/support/users/psrpinto/)
 * (@psrpinto)
 * [3 years ago](https://wordpress.org/support/topic/problem-with-wp-env/#post-16765216)
 * Hi [@maahrokh](https://wordpress.org/support/users/maahrokh/)
 * Are you using the WSL2 backend for Docker on Windows? In the [prerequisites](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/#prerequisites)
   section of `wp-env`‘s docs it’s said:
 * > There are instructions available for installing Docker on [Windows](https://docs.docker.com/desktop/install/windows-install/)(
   > we recommend the WSL2 backend),
 * If you don’t know what backend you’re using, you could [uninstall](https://docs.docker.com/desktop/uninstall/)
   Docker, and re-install again using the WSL2 backend.
 *  Thread Starter [Mahrokh](https://wordpress.org/support/users/maahrokh/)
 * (@maahrokh)
 * [3 years ago](https://wordpress.org/support/topic/problem-with-wp-env/#post-16767830)
 * [@psrpinto](https://wordpress.org/support/users/psrpinto/)
 * Thank you for your support,
 * That was my fault, I should run the `npm -g install @wordpress/env` before the`
   wp-env start`

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem with wp-env’ is closed to new replies.

## Tags

 * [cli](https://wordpress.org/support/topic-tag/cli/)
 * [docker](https://wordpress.org/support/topic-tag/docker/)
 * [wp-env](https://wordpress.org/support/topic-tag/wp-env/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 2 replies
 * 2 participants
 * Last reply from: [Mahrokh](https://wordpress.org/support/users/maahrokh/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/problem-with-wp-env/#post-16767830)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
