我正在使用AmazonLightSail和CodeIgniter框架。尝试使用安装PhpSpreadsheet -https://phpspreadsheet.readthedocs.io/en/latest/#installation
composer require phpoffice/phpspreadsheet
然而我却被
[RuntimeException]
require-dev.mikey179/vfsStream is invalid, it should not contain uppercase characters. Please use mikey179/vfsstream instead.
我做了通常的谷歌搜索,但没有找到任何具体的。
当我奔跑
composer.phar show
我从上面得到错误。
4条答案
按热度按时间guz6ccqo1#
在
require-dev
部分的composer.json
中必须有mikey179/vfsStream
(因为问题是针对require-dev
的,而您正在尝试执行正常要求)。只需将软件包的名称全部改为小写字符。
ut6juiuv2#
只需将mikey 179/vfsStream替换为mikey 179/vfsStream即可
guicsvcw3#
将此“mikey 179/vfsStream”包名称设置为小写。
“mikey 179/vfsStream”将其替换为“mikey 179/vfsstream”
egdjgwm84#
在composer.json文件中查找mikey 179/vfsStream,并将其所有字符小写,使其成为mikey 179/vfsstream