wp-env エラー発生時の解決方法

RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly

error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)

解決方法1

HTTPのバージョンを確認
git config --global http.version

空だったので、HTTPのバージョンを設定
git config --global http.version HTTP/1.1

HTTPのバージョンを再確認
git config --global http.version
HTTP/1.1

RPC failed; curl 18 transfer closed with outstanding read data remaining

RPC failed; curl 18 transfer closed with outstanding read data remaining

現在の設定値を確認
git config --show-origin --get-all http.postBuffer
gitのglobal設定で『post buffer』という設定の数値を上げる
git config –global http.postBuffer 524288000
or
git config --global http.postBuffer 2M

Another git process seems to be running in this repository

✖ fatal: Unable to create ‘C:/Users/○○○/.wp-env/38f85fa5ef548f126a6b5c2d07ab0b7f/WordPress-PHPUnit/.git/shallow.lock’: File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by ‘git commit’. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.

GitError: fatal: Unable to create ‘C:/Users/○○○/.wp-env/38f85fa5ef548f126a6b5c2d07ab0b7f/WordPress-PHPUnit/.git/shallow.lock’: File
exists.

Another git process seems to be running in this repository, e.g.
an editor opened by ‘git commit’. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.

解決方法:
次のshallow.lockを削除する
‘C:/Users/○○○/.wp-env/38f85fa5ef548f126a6b5c2d07ab0b7f/WordPress-PHPUnit/.git/shallow.lock’: File