【发布时间】:2016-10-23 03:59:08
【问题描述】:
对于任何 php artisan 命令,我都收到以下错误。我正在使用 laravel/dingo 包。
执行了以下导致错误的步骤
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Removing rap2hpoutre/laravel-log-viewer (v0.6.1)
- Removing dingo/blueprint (v0.1.5)
- Installing dingo/blueprint (v0.1.6)
Downloading: 100%
- Removing dingo/api (dev-master 8cd1a6c)
- Installing dingo/api (v1.0.0-beta3)
Downloading: 100%
- Removing cartalyst/support (v1.1.2)
- Installing cartalyst/support (v1.2.0)
Downloading: 100%
Writing lock file
Generating autoload files
> php artisan optimize
composer update
> php artisan clear-compiled
[Tymon\JWTAuth\Exceptions\JWTException]
The token could not be parsed from the request
然后任何 php artisan 命令都显示“无法从请求中解析令牌”错误
出了什么问题。好困惑:(
【问题讨论】: