composer update --no-interaction
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires PHP extension ext-calendar * but it is missing from your system. Install or enable PHP's calendar extension.
To enable extensions, verify that they are enabled in your .ini files:
- /www/server/php/81/etc/php-cli.ini
You can also run php --ini in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with --ignore-platform-req=ext-calendar to temporarily ignore these required extensions.
exitCode: 2
什么模块呢?
workman与七牛云都不行,这个能直接下载到目录,直接使用吗?安装这个是真麻烦,各种错误提示都有。
第一个问题看起来是代码内有错误的
import
,造成npm install
无法执行,composer
的错误在错误提示中也已经说的很清楚了,看得出来你觉得很麻烦,但npm
和composer
都只是包管理器而已,和模块或者BuildAdmin没啥关系,能用好它们只是基础,建议多点细心和耐心,毕竟这还只是基础,这样下去是走不远的composer update --no-interaction
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires PHP extension ext-calendar * but it is missing from your system. Install or enable PHP's calendar extension.
To enable extensions, verify that they are enabled in your .ini files:
- /www/server/php/81/etc/php-cli.ini
You can also run
php --ini
in a terminal to see which files are used by PHP in CLI mode.Alternatively, you can run Composer with
--ignore-platform-req=ext-calendar
to temporarily ignore these required extensions.exitCode: 2
以上是新错误提示,可是我calendar已经安装了这个扩展
最新错误:
问题也找不到答案a
直接使用控制台命令呀,不要使用这个 坑多的很
是安装模块还是安装项目
管理员模式手动试下,看结果是不是一样
- 1
前往