Selaa lähdekoodia

Add Windows proc-open errors to troubleshooting.md

As per these issues:

https://github.com/composer/composer/issues/7186
https://github.com/composer/composer/issues/8152
John Stevenson 5 vuotta sitten
vanhempi
commit
45d616c447
1 muutettua tiedostoa jossa 13 lisäystä ja 0 poistoa
  1. 13 0
      doc/articles/troubleshooting.md

+ 13 - 0
doc/articles/troubleshooting.md

@@ -211,6 +211,19 @@ To enable the swap you can use for example:
 ```
 You can make a permanent swap file following this [tutorial](https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04).
 
+## proc_open(): failed to open stream errors (Windows)
+
+If composer shows proc_open(NUL) errors on Windows:
+
+`proc_open(NUL): failed to open stream: No such file or directory`
+
+This could be happening because you are working in a _OneDrive_ directory and
+using a version of PHP that does not support the file system semantics of this
+service. The issue was fixed in PHP 7.2.23 and 7.3.10.
+
+Alternatively it could be because the Windows Null Service is not enabled. For
+more information, see this [issue](https://github.com/composer/composer/issues/7186#issuecomment-373134916).
+
 ## Degraded Mode
 
 Due to some intermittent issues on Travis and other systems, we introduced a