bflzg

第 5569 位会员

会员
个人信息
  • 加入于 2020-12-01 19:00:18
  • 最后登录时间 3年前
个人成就
  • 发表文章次数 1
  • 发布回复次数 3
  • 个人主页浏览次数 0
怎样在windows docker 中安装fecmall3年前

Step 8/11 : RUN composer global require "fxp/composer-asset-plugin:^1.4.4" ---> Running in 803537f98ffc Changed current directory to /root/.config/composer

[RuntimeException] No composer.json present in the current directory, this may be the cause of the following exception.

[InvalidArgumentException]
Package fxp/composer-asset-plugin at version ^1.4.4 has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version

require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] []...

ERROR: Service 'php' failed to build : The command '/bin/sh -c composer global require "fxp/composer-asset-plugin:^1.4.4"' returned a non-zero code: 1

怎样在windows docker 中安装fecmall3年前

失败提示: Step 8/11 : RUN composer global require "fxp/composer-asset-plugin:^1.4.4" ---> Running in dbdXXX8d88f Changed current directory to /root/.config/composer

[RuntimeException] No composer.json present in the current directory, this may be the cause of the following exception.

[InvalidArgumentException] Package fxp/composer-asset-plugin at version ^1.4.4 has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version

require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] []...

ERROR: Service 'php' failed to build : The command '/bin/sh -c composer global require "fxp/composer-asset-plugin:^1.4.4"' returned a non-zero code: 1 PS D:\docker\yii2_fecshop_docker>

怎样在windows docker 中安装fecmall3年前

不会,所以才来问,这个怎么搞,给个思路吧

Your Site Analytics