質問編集履歴
1
質問追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
~/sample$ php artisan migrate
|
2
2
|
|
3
3
|
PHP Warning: require(/home/tide/sample/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /home/tide/sample/bootstrap/autoload.php on line 17
|
4
4
|
|
@@ -19,3 +19,51 @@
|
|
19
19
|
で、インストールしました。
|
20
20
|
|
21
21
|
どうすれば、上記エラーを解消できますでしょうか。
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
```
|
26
|
+
|
27
|
+
sample$ composer install
|
28
|
+
|
29
|
+
Loading composer repositories with package information
|
30
|
+
|
31
|
+
Installing dependencies (including require-dev) from lock file
|
32
|
+
|
33
|
+
Your requirements could not be resolved to an installable set of packages.
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
Problem 1
|
38
|
+
|
39
|
+
- Installation request for phpunit/phpunit 4.8.20 -> satisfiable by phpunit/phpunit[4.8.20].
|
40
|
+
|
41
|
+
- phpunit/phpunit 4.8.20 requires php ~5.3.3|~5.4|~5.5|~5.6 -> your PHP version (7.0.23) does not satisfy that requirement.
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
```
|
48
|
+
|
49
|
+
vendorディレクトリは、2つありましたが、sample直下になかったので、削除せず、composer updateを実行するも下記エラーです。
|
50
|
+
|
51
|
+
sample$ composer install
|
52
|
+
|
53
|
+
Loading composer repositories with package information
|
54
|
+
|
55
|
+
Installing dependencies (including require-dev) from lock file
|
56
|
+
|
57
|
+
Your requirements could not be resolved to an installable set of packages.
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
Problem 1
|
62
|
+
|
63
|
+
- Installation request for phpunit/phpunit 4.8.20 -> satisfiable by phpunit/phpunit[4.8.20].
|
64
|
+
|
65
|
+
- phpunit/phpunit 4.8.20 requires php ~5.3.3|~5.4|~5.5|~5.6 -> your PHP version (7.0.23) does not satisfy that requirement.
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
アドバイスお願いいたします。
|