我正在学习本教程:
https://code.tutsplus.com/courses/build-a-cms-with-laravel/lessons/install-and-configure-laravel
然而,当进入步骤homestead provision
时,我收到此错误:
[Symfony\Component\Console\Exception\CommandNotFoundException
Command "provision" is not defined.
这是一个问题。如果我运行homestead -v
$ homestead -v
Laravel Homestead version 3.0.2
Usage:
command [options] [arguments]
Options:
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Available commands:
help Displays help for a command
list Lists commands
make Install Homestead into the current project
因此,规定不是命令。有没有人知道我需要安装什么才能让它工作?
答案 0 :(得分:2)