Closed huangdijia closed 2 years ago
$ box self-update
报下面错误:
[INFO] Downloading https://github.com/hyperf/box/releases/download/v0.0.3/box_php8.1_x86_64_macos
37863424 [------------------>---------]
[INFO] Download saved to /Users/hdj/.box/box_php8.1_x86_64_macos
not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.Class "Hyperf\Command\Event\AfterHandle" not found
ng those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Sourceied files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excludiClass "Hyperf\Command\Event\AfterExecute" not found
ng those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Sourceied files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excludi
Fatal error: Uncaught Error: Class "Symfony\Component\Console\Event\ConsoleErrorEvent" not found in phar:///Users/hdj/.box/box/vendor/symfony/console/Application.php:1021
Stack trace:
#0 phar:///Users/hdj/.box/box/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand(Object(App\Command\SelfUpdateCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 phar:///Users/hdj/.box/box/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#2 phar:///Users/hdj/.box/box/bin/hyperf.php(46): Symfony\Component\Console\Application->run()
#3 phar:///Users/hdj/.box/box/bin/hyperf.php(47): {closure}()
#4 /Users/hdj/.box/box(10): include('phar:///Users/h...')
#5 {main}
thrown in phar:///Users/hdj/.box/box/vendor/symfony/console/Application.php on line 1021
但是 box get box
能正常。
需要帮忙看看。@huangzhhui
fix #4