質問編集履歴

3

エラー内容の変更と、試したことの追記

2022/11/11 12:22

投稿

otta
otta

スコア1

test CHANGED
File without changes
test CHANGED
@@ -50,6 +50,7 @@
50
50
  ### 試したこと
51
51
 
52
52
  composerをupdateしようとしても不可能でした。
53
+ composer.json内、symfonyのバージョンを6.1から6.0に変更。また、memcachedを削除。
53
54
 
54
55
  ### 補足情報(FW/ツールのバージョンなど) 
55
56
 

2

エラーの変更

2022/11/11 12:15

投稿

otta
otta

スコア1

test CHANGED
File without changes
test CHANGED
@@ -3,6 +3,7 @@
3
3
  Venturaの環境下、LaravelをAWSデプロイ
4
4
  php8.0をインストール(8.1はインストール不可であったため)
5
5
 
6
+ 参考URL
6
7
  https://brainlog.jp/server/aws/post-3246/
7
8
 
8
9
  ### 実現したいこと
@@ -12,83 +13,43 @@
12
13
  ### 発生している問題・エラーメッセージ
13
14
 
14
15
  ```
15
- Problem 1
16
+
16
- - Root composer.json requires PHP extension ext-memcached ^3.2 but it is missing from your system. Install or enable PHP's memcached extension.
17
- Problem 2
18
- - symfony/console is locked to version v6.1.7 and an update of this package was not requested.
19
- - symfony/console v6.1.7 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
20
- Problem 3
21
- - symfony/css-selector is locked to version v6.1.3 and an update of this package was not requested.
22
- - symfony/css-selector v6.1.3 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
23
- Problem 4
24
- - symfony/deprecation-contracts is locked to version v3.1.1 and an update of this package was not requested.
25
- - symfony/deprecation-contracts v3.1.1 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
26
- Problem 5
27
- - symfony/error-handler is locked to version v6.1.7 and an update of this package was not requested.
28
- - symfony/error-handler v6.1.7 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
29
- Problem 6
30
- - symfony/event-dispatcher is locked to version v6.1.0 and an update of this package was not requested.
31
- - symfony/event-dispatcher v6.1.0 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
32
- Problem 7
33
- - symfony/event-dispatcher-contracts is locked to version v3.1.1 and an update of this package was not requested.
34
- - symfony/event-dispatcher-contracts v3.1.1 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
35
- Problem 8
36
- - symfony/finder is locked to version v6.1.3 and an update of this package was not requested.
17
+ Installing dependencies from lock file (including require-dev)
37
- - symfony/finder v6.1.3 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
38
- Problem 9
39
- - symfony/http-client is locked to version v6.1.7 and an update of this package was not requested.
40
- - symfony/http-client v6.1.7 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
41
- Problem 10
42
- - symfony/http-client-contracts is locked to version v3.1.1 and an update of this package was not requested.
43
- - symfony/http-client-contracts v3.1.1 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
44
- Problem 11
45
- - symfony/http-foundation is locked to version v6.1.7 and an update of this package was not requested.
46
- - symfony/http-foundation v6.1.7 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
47
- Problem 12
48
- - symfony/http-kernel is locked to version v6.1.7 and an update of this package was not requested.
49
- - symfony/http-kernel v6.1.7 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
50
- Problem 13
51
- - symfony/mailer is locked to version v6.1.7 and an update of this package was not requested.
52
- - symfony/mailer v6.1.7 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
53
- Problem 14
54
- - symfony/mailgun-mailer is locked to version v6.1.0 and an update of this package was not requested.
55
- - symfony/mailgun-mailer v6.1.0 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
56
- Problem 15
57
- - symfony/mime is locked to version v6.1.7 and an update of this package was not requested.
58
- - symfony/mime v6.1.7 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
59
- Problem 16
60
- - symfony/process is locked to version v6.1.3 and an update of this package was not requested.
61
- - symfony/process v6.1.3 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
62
- Problem 17
63
- - symfony/routing is locked to version v6.1.7 and an update of this package was not requested.
18
+ Verifying lock file contents can be installed on current platform.
19
+ Nothing to install, update or remove
20
+ Generating optimized autoload files
21
+ > Illuminate\Foundation\ComposerScripts::postAutoloadDump
22
+ > @php artisan package:discover --ansi
23
+
24
+ Cloudinary\Exception\ConfigurationException
25
+
26
+ Invalid configuration, please set up your environment
27
+
64
- - symfony/routing v6.1.7 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
28
+ at vendor/cloudinary/cloudinary_php/src/Configuration/Configuration.php:293
29
+ 289▕
30
+ 290▕ public function validate()
65
- Problem 18
31
+ 291▕ {
66
- - symfony/service-contracts is locked to version v3.1.1 and an update of this package was not requested.
67
- - symfony/service-contracts v3.1.1 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
68
- Problem 19
69
- - symfony/string is locked to version v6.1.7 and an update of this package was not requested.
32
+ 292▕ if (empty($this->cloud->cloudName)) {
70
- - symfony/string v6.1.7 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
71
- Problem 20
72
- - symfony/translation is locked to version v6.1.6 and an update of this package was not requested.
33
+ 293▕ throw new ConfigurationException('Invalid configuration, please set up your environment');
73
- - symfony/translation v6.1.6 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
34
+ 294▕ }
74
- Problem 21
35
+ 295▕ }
75
- - symfony/translation-contracts is locked to version v3.1.1 and an update of this package was not requested.
36
+ 296▕
76
- - symfony/translation-contracts v3.1.1 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
77
- Problem 22
37
+ 297▕ /**
38
+
39
+ +1 vendor frames
78
- - symfony/uid is locked to version v6.1.5 and an update of this package was not requested.
40
+ 2 app/Providers/AppServiceProvider.php:25
79
- - symfony/uid v6.1.5 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
41
+ Cloudinary\Cloudinary::__construct([])
42
+
43
+ +36 vendor frames
80
- Problem 23
44
+ 39 artisan:37
81
- - symfony/var-dumper is locked to version v6.1.6 and an update of this package was not requested.
82
- - symfony/var-dumper v6.1.6 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
83
- Problem 24
84
- - symfony/deprecation-contracts v3.1.1 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
85
- - fakerphp/faker v1.20.0 requires symfony/deprecation-contracts ^2.2 || ^3.0 -> satisfiable by symfony/deprecation-contracts[v3.1.1].
45
+ Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
86
- - fakerphp/faker is locked to version v1.20.0 and an update of this package was not requested.
46
+ Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
47
+
87
48
  ```
88
49
 
89
50
  ### 試したこと
90
51
 
91
- composerをupdateしようとしても不可能でした。Venturaの影響でしょうか。
52
+ composerをupdateしようとしても不可能でした。
92
53
 
93
54
  ### 補足情報(FW/ツールのバージョンなど) 
94
55
 

1

エラー内容の変更

2022/11/10 20:04

投稿

otta
otta

スコア1

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,7 @@
1
1
  ### 前提
2
2
 
3
3
  Venturaの環境下、LaravelをAWSデプロイ
4
+ php8.0をインストール(8.1はインストール不可であったため)
4
5
 
5
6
  https://brainlog.jp/server/aws/post-3246/
6
7
 
@@ -10,28 +11,80 @@
10
11
 
11
12
  ### 発生している問題・エラーメッセージ
12
13
 
13
- Installing dependencies from lock file (including require-dev)
14
+ ```
14
- Verifying lock file contents can be installed on current platform.
15
- Your lock file does not contain a compatible set of packages. Please run composer update.
16
-
17
- Problem 1
15
+ Problem 1
18
- - Root composer.json requires php ^8.0.2 but your php version (7.4.32) does not satisfy that requirement.
16
+ - Root composer.json requires PHP extension ext-memcached ^3.2 but it is missing from your system. Install or enable PHP's memcached extension.
19
17
  Problem 2
20
- - laravel/framework is locked to version v9.39.0 and an update of this package was not requested.
18
+ - symfony/console is locked to version v6.1.7 and an update of this package was not requested.
21
- - laravel/framework v9.39.0 requires php ^8.0.2 -> your php version (7.4.32) does not satisfy that requirement.
19
+ - symfony/console v6.1.7 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
22
20
  Problem 3
23
- - laravel/sanctum is locked to version v3.0.1 and an update of this package was not requested.
21
+ - symfony/css-selector is locked to version v6.1.3 and an update of this package was not requested.
24
- - laravel/sanctum v3.0.1 requires php ^8.0.2 -> your php version (7.4.32) does not satisfy that requirement.
22
+ - symfony/css-selector v6.1.3 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
25
23
  Problem 4
26
- - league/flysystem is locked to version 3.10.2 and an update of this package was not requested.
24
+ - symfony/deprecation-contracts is locked to version v3.1.1 and an update of this package was not requested.
27
- - league/flysystem 3.10.2 requires php ^8.0.2 -> your php version (7.4.32) does not satisfy that requirement.
25
+ - symfony/deprecation-contracts v3.1.1 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
28
26
  Problem 5
29
- - nunomaduro/termwind is locked to version v1.14.2 and an update of this package was not requested.
27
+ - symfony/error-handler is locked to version v6.1.7 and an update of this package was not requested.
30
- - nunomaduro/termwind v1.14.2 requires php ^8.0 -> your php version (7.4.32) does not satisfy that requirement.
28
+ - symfony/error-handler v6.1.7 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
31
29
  Problem 6
32
- - psr/log is locked to version 3.0.0 and an update of this package was not requested.
30
+ - symfony/event-dispatcher is locked to version v6.1.0 and an update of this package was not requested.
33
- - psr/log 3.0.0 requires php >=8.0.0 -> your php version (7.4.32) does not satisfy that requirement.
31
+ - symfony/event-dispatcher v6.1.0 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
34
- Problem 7
32
+ Problem 7
33
+ - symfony/event-dispatcher-contracts is locked to version v3.1.1 and an update of this package was not requested.
34
+ - symfony/event-dispatcher-contracts v3.1.1 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
35
+ Problem 8
36
+ - symfony/finder is locked to version v6.1.3 and an update of this package was not requested.
37
+ - symfony/finder v6.1.3 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
38
+ Problem 9
39
+ - symfony/http-client is locked to version v6.1.7 and an update of this package was not requested.
40
+ - symfony/http-client v6.1.7 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
41
+ Problem 10
42
+ - symfony/http-client-contracts is locked to version v3.1.1 and an update of this package was not requested.
43
+ - symfony/http-client-contracts v3.1.1 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
44
+ Problem 11
45
+ - symfony/http-foundation is locked to version v6.1.7 and an update of this package was not requested.
46
+ - symfony/http-foundation v6.1.7 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
47
+ Problem 12
48
+ - symfony/http-kernel is locked to version v6.1.7 and an update of this package was not requested.
49
+ - symfony/http-kernel v6.1.7 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
50
+ Problem 13
51
+ - symfony/mailer is locked to version v6.1.7 and an update of this package was not requested.
52
+ - symfony/mailer v6.1.7 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
53
+ Problem 14
54
+ - symfony/mailgun-mailer is locked to version v6.1.0 and an update of this package was not requested.
55
+ - symfony/mailgun-mailer v6.1.0 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
56
+ Problem 15
57
+ - symfony/mime is locked to version v6.1.7 and an update of this package was not requested.
58
+ - symfony/mime v6.1.7 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
59
+ Problem 16
60
+ - symfony/process is locked to version v6.1.3 and an update of this package was not requested.
61
+ - symfony/process v6.1.3 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
62
+ Problem 17
63
+ - symfony/routing is locked to version v6.1.7 and an update of this package was not requested.
64
+ - symfony/routing v6.1.7 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
65
+ Problem 18
66
+ - symfony/service-contracts is locked to version v3.1.1 and an update of this package was not requested.
67
+ - symfony/service-contracts v3.1.1 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
68
+ Problem 19
69
+ - symfony/string is locked to version v6.1.7 and an update of this package was not requested.
70
+ - symfony/string v6.1.7 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
71
+ Problem 20
72
+ - symfony/translation is locked to version v6.1.6 and an update of this package was not requested.
73
+ - symfony/translation v6.1.6 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
74
+ Problem 21
75
+ - symfony/translation-contracts is locked to version v3.1.1 and an update of this package was not requested.
76
+ - symfony/translation-contracts v3.1.1 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
77
+ Problem 22
78
+ - symfony/uid is locked to version v6.1.5 and an update of this package was not requested.
79
+ - symfony/uid v6.1.5 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
80
+ Problem 23
81
+ - symfony/var-dumper is locked to version v6.1.6 and an update of this package was not requested.
82
+ - symfony/var-dumper v6.1.6 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
83
+ Problem 24
84
+ - symfony/deprecation-contracts v3.1.1 requires php >=8.1 -> your php version (8.0.25) does not satisfy that requirement.
85
+ - fakerphp/faker v1.20.0 requires symfony/deprecation-contracts ^2.2 || ^3.0 -> satisfiable by symfony/deprecation-contracts[v3.1.1].
86
+ - fakerphp/faker is locked to version v1.20.0 and an update of this package was not requested.
87
+ ```
35
88
 
36
89
  ### 試したこと
37
90