为了账号安全,请及时绑定邮箱和手机立即绑定

Laravel 错误: [符号\组件\进程\异常\运行时异常] 进程已使用信号“4”发出信号

Laravel 错误: [符号\组件\进程\异常\运行时异常] 进程已使用信号“4”发出信号

PHP
湖上湖 2022-09-25 20:59:27
我正在尝试使用命令php工匠拉或推,这给了我以下错误:zsh: illegal hardware instruction php artisan cms:pull我还尝试在我的拉拉维尔项目中运行作曲家更新,并得到以下错误:post-autoload-dump: Illuminate\Foundation\ComposerScripts::postAutoloadDump post-autoload-dump: @php artisan package:discoverExecuting command (CWD): '/usr/local/Cellar/php/7.4.2/bin/php' -d allow_url_fopen='1' -d disable_functions='' -d memory_limit='1536M' artisan package:discover[Symfony\Component\Process\Exception\RuntimeException] The process has been signaled with signal "4".Exception trace: () at phar:///usr/local/Cellar/composer/1.9.3/bin/composer/vendor/symfony/process/Process.php:366 Symfony\Component\Process\Process->wait() at phar:///usr/local/Cellar/composer/1.9.3/bin/composer/vendor/symfony/process/Process.php:198 Symfony\Component\Process\Process->run() at phar:///usr/local/Cellar/composer/1.9.3/bin/composer/src/Composer/Util/ProcessExecutor.php:75 Composer\Util\ProcessExecutor->execute() at phar:///usr/local/Cellar/composer/1.9.3/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:257 Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///usr/local/Cellar/composer/1.9.3/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:96 Composer\EventDispatcher\EventDispatcher->dispatchScript() at phar:///usr/local/Cellar/composer/1.9.3/bin/composer/src/Composer/Autoload/AutoloadGenerator.php:313 Composer\Autoload\AutoloadGenerator->dump() at phar:///usr/local/Cellar/composer/1.9.3/bin/composer/src/Composer/Installer.php:304 Composer\Installer->run() at phar:///usr/local/Cellar/composer/1.9.3/bin/composer/src/Composer/Command/UpdateCommand.php:163 Composer\Command\UpdateCommand->execute() at phar:///usr/local/Cellar/composer/1.9.3/bin/composer/vendor/symfony/console/Command/Command.php:245 Symfony\Component\Console\Command\Command->run() at 我已经通过以下教程更改了我的memory_limit。https://www.remcotolsma.nl/2015/01/homebrew-php-memory-limit-verhogen-voor-composer/我没有做任何区别我使用的是带有MacOS卡塔利娜版本10.15.3和16 GB内存的Macbook Pro
查看完整描述

2 回答

?
泛舟湖上清波郎朗

TA贡献1818条经验 获得超3个赞

重新安装作曲家并重新启动我的电脑解决了这个问题!


查看完整回答
反对 回复 2022-09-25
?
天涯尽头无女友

TA贡献1831条经验 获得超9个赞

我无法摆脱这个问题,所以我用Macbook中的所有文件进行了备份。我删除了我的硬盘,并做了一个干净的macos安装。重新安装所有内容后(自制,mysql,php,流浪汉等)我打开我的项目尝试了上面的命令,一切正常。


查看完整回答
反对 回复 2022-09-25
  • 2 回答
  • 0 关注
  • 299 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信