前提・実現したいこと
(例)PHP(Laravel)で$ composer update しようとすると、
プラットフォームを選択してくださいと表示され、
適切なものを選択しているはずなのですが、
エラーメッセージが発生します。
ご教授いただければ幸いです。
該当のソースコード
Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 0 installs, 1 update, 0 removals - Updating nesbot/carbon (1.25.0 => 1.26.3): Downloading (100%) Writing lock file Generating optimized autoload files > Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discover Discovered Package: fideloper/proxy Discovered Package: laravel/dusk Discovered Package: laravel/tinker Discovered Package: laravelcollective/html Package manifest generated successfully. Please select the platform : [linux32] Linux 32Bits [linux64] Linux 64Bits [mac64 ] Mac OS X [win32 ] Windows >
試したこと
Please select the platform : [linux32] Linux 32Bits [linux64] Linux 64Bits [mac64 ] Mac OS X [win32 ] Windows >
以降にlinux64、[linux64]、Linux 64Bits、 [linux64] Linux 64Bits
などを記述してみたのですが以下のようなエラーが発生します。
発生している問題・エラーメッセージ
[Exception] Platform is not set.
補足情報(FW/ツールのバージョンなど)
開発環境:Vagrant + VirtualBox / Homestead
言語:PHP 7.2.0-1+ubuntu16.04.1+deb.sury.org+1 (cli)
フレームワーク:Laravel5.5 (LTS)
サーバー:nginx
DB:MySQL