无法安装 Laravel 5 cashier/stripe 包

3
我已经在我的composer.json文件中加入了"laravel/cashier": "~5.0"这一行,并更新了它;
接下来,我将'Laravel\Cashier\CashierServiceProvider'这一行放入$providers数组中,在app.php中。
然后,在cmd中当我尝试迁移表格时,使用php artisan cashier:table builder命令,我收到以下消息:
[InvalidArgumentException] There are no commands defined in the "cashier" namespace.
然后,当我输入:php artisan时,没有cashier:table命令,请问问题出在哪里?

1
在项目目录中运行 php artisan clear-compiledcomposer dump-autoload - baao
@michael 仍然收到相同的错误信息。 - sk4yb3n
@sk4yb3n,你有没有运气让它工作了? - davelowe85
1个回答

2

我曾遇到同样的问题,当我运行以下命令php artisan config:cachephp artisan clear-compiled后,问题得到了解决...


3
请只使用答案来发布完整的答案,而不是评论。FYI,这是几年前作为评论提出的问题,OP已经回答了“no”。 - Bhargav Rao

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接