[英]I have tried to run an existing laravel project. But during composer update I got this error:
[英]'errno=5 Input/output error' occurred while run composer update in laravel7.9.2 project
我正在嘗試在本地系統的 laravel 項目中進行composer update
,但發現了此錯誤:
~ compoeser update
Loading composer repositories with package information
Updating dependencies (including require-dev)
[ErrorException]
hash_file(): read of 8192 bytes failed with errno=5 Input/output error
它在安裝php-intl
擴展后發生。
我在我的系統中完全重新安裝了 php 及其所有擴展,但問題沒有解決。 另外,我重新安裝了作曲家並安裝了另一個新的 laravel 但都沒有解決問題。
操作系統:Ubuntu 18.04.4 LTS 64bit
php:7.4.5
laravel:7.9.2
如果您在 VM 中運行它,請嘗試添加 RAM。 我發現我的 Vagrantbox 默認為 512MB。 通過.Vagrantfile 將其設置為 2048 后,它起作用了。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.