質問編集履歴

1

状況について追記

2021/11/13 09:03

投稿

hirqo_
hirqo_

スコア5

test CHANGED
File without changes
test CHANGED
@@ -7,3 +7,79 @@
7
7
  権限系の問題かなと思い777で付与しても変わらずでした。
8
8
 
9
9
  どなたか知見のあるかたにお助けいただきたいです、
10
+
11
+
12
+
13
+ エラーが出る場合の手順
14
+
15
+ ```
16
+
17
+ # ターミナルで以下を実行
18
+
19
+ php artisan route:aaaaa
20
+
21
+ ```
22
+
23
+
24
+
25
+ error内容
26
+
27
+ ```
28
+
29
+ [2021-11-13 17:59:53] local.ERROR: Command "route:aaaa" is not defined.
30
+
31
+
32
+
33
+ Did you mean one of these?
34
+
35
+ route:cache
36
+
37
+ route:clear
38
+
39
+ route:list {"exception":"[object] (Symfony\Component\Console\Exception\CommandNotFoundException(code: 0): Command \"route:aaaa\" is not defined.
40
+
41
+
42
+
43
+ Did you mean one of these?
44
+
45
+ route:cache
46
+
47
+ route:clear
48
+
49
+ route:list at /Users/koshohiraku/Desktop/PicaroAiMainLaravel/WebAPI/vendor/symfony/console/Application.php:682)
50
+
51
+ [stacktrace]
52
+
53
+ #0 /Users/koshohiraku/Desktop/PicaroAiMainLaravel/WebAPI/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->find('route:aaaa')
54
+
55
+ #1 /Users/koshohiraku/Desktop/PicaroAiMainLaravel/WebAPI/vendor/symfony/console/Application.php(167): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
56
+
57
+ #2 /Users/koshohiraku/Desktop/PicaroAiMainLaravel/WebAPI/vendor/laravel/framework/src/Illuminate/Console/Application.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
58
+
59
+ #3 /Users/koshohiraku/Desktop/PicaroAiMainLaravel/WebAPI/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
60
+
61
+ #4 /Users/koshohiraku/Desktop/PicaroAiMainLaravel/WebAPI/artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
62
+
63
+ #5 {main}
64
+
65
+ "}
66
+
67
+ ```
68
+
69
+
70
+
71
+ エラーが出ない場合
72
+
73
+ 1,適当なapiを作成し、その関数内に
74
+
75
+ ```
76
+
77
+ \Lod::debug("aaaa");
78
+
79
+ ```
80
+
81
+ を入力し、そのapiを叩く
82
+
83
+
84
+
85
+ 2,上記api内でわざとセミコロンを外してapiを実行する