前提
Venturaの環境下、LaravelをAWSデプロイ
php8.0をインストール(8.1はインストール不可であったため)
参考URL
https://brainlog.jp/server/aws/post-3246/
実現したいこと
githubから開発済みのLaravelをcloneしたあと、 composerをinstallしたい。
発生している問題・エラーメッセージ
Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Nothing to install, update or remove Generating optimized autoload files > Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discover --ansi Cloudinary\Exception\ConfigurationException Invalid configuration, please set up your environment at vendor/cloudinary/cloudinary_php/src/Configuration/Configuration.php:293 289▕ 290▕ public function validate() 291▕ { 292▕ if (empty($this->cloud->cloudName)) { ➜ 293▕ throw new ConfigurationException('Invalid configuration, please set up your environment'); 294▕ } 295▕ } 296▕ 297▕ /** +1 vendor frames 2 app/Providers/AppServiceProvider.php:25 Cloudinary\Cloudinary::__construct([]) +36 vendor frames 39 artisan:37 Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
試したこと
composerをupdateしようとしても不可能でした。
composer.json内、symfonyのバージョンを6.1から6.0に変更。また、memcachedを削除。
補足情報(FW/ツールのバージョンなど)
参考にしているサイト通りに進めていき、
インスタンスに接続後、一通りインストールやnginxの設定が済み、.envの設定の段階です。
回答1件
あなたの回答
tips
プレビュー