[英]IBM Cloud PHP Getting started tutorial - Error with “php composer.phar install”
我試圖完成IBM雲PHP入門教程在這一個Windows 10的機器上。
我嘗試使用PHP 7.3(7.3.2)(下載文件名為php-7.3.2-nts-Win32-VC15-x64.zip)。
我已經安裝了“ VC15版本需要具有Visual Studio 2017 x64的Visual C ++可再發行組件”(vc_redist.x64.exe)
在步驟2中,
php composer.phar install
我得到錯誤
C:\temp\get-started-php>php composer.phar install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file
[ErrorException] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
我評論了“警告:“繼續”定位開關等效於“中斷”。您是要使用“繼續2”嗎?” 在stackoverflow的這篇文章中 ,嘗試了composer update
和composer self-update
。
我仍然可以看到"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
錯誤。
任何有關如何解決此問題的建議表示贊賞。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.