【问题标题】:Cpanel Laravel package install getting "Killed"Cpanel Laravel 软件包安装被“杀死”
【发布时间】:2020-11-13 00:14:52
【问题描述】:

我正在尝试在我的 cpanel laravel 项目中安装条形码包。但每次它都会被杀死。

命令:

[......@host public_html]$ composer require milon/barcode

片刻之后:

Using version ^7.0 for milon/barcode
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
The "http://repo.packagist.org/p/symfony/polyfill-iconv%24535e139d88ce6708c9d8bf795da669c3fe46467f4bc7dc900e2e65a8d77b56ae.json" file could not be downloaded: failed to open stream: Network is unreachable
http://repo.packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
Killed

我想安装的所有软件包也都会发生这种情况:pdf 或其他。更新了我的作曲家。仍然无法正常工作。

【问题讨论】:

标签: laravel composer-php cpanel


【解决方案1】:

这是因为您的服务器内存不足。您可以在本地机器上安装软件包,然后用本地的 composer.lock 文件替换您的服务器 composer.lock 文件然后转到 终端并运行 composer update

【讨论】:

    猜你喜欢
    • 2017-08-31
    • 2020-03-19
    • 2019-06-21
    • 2023-03-11
    • 2018-01-14
    • 2015-08-13
    • 2015-01-28
    • 1970-01-01
    • 2021-05-05
    相关资源
    最近更新 更多