对于任何 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 命令都显示“无法从请求中解析令牌 ”错误
会出什么问题。太困惑了:(