0
실행중인 플랫폼 로컬 : 우분투에서 빌드, 아래 오류가 나타납니다.실행중인 플랫폼 로컬 : 우분투 빌드, 오류 수신
Windows 용 Linux 하위 시스템을 통해 Windows 10 Pro 64 비트에 우분투를 설치했습니다. 그런 다음 LAMP, Composer 및 Platform.sh CLI를 설치했습니다.
이제 프로젝트를 로컬에서 확인하고 로컬에서 빌드를 수행하고 있습니다. 하지만 이런 일이 발생합니다 :
$ platform local:build
Building application m2 (runtime type: php:7.0)
Found a composer.json file; installing dependencies
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- magento/framework 101.0.1 requires ext-gd * -> the requested PHP extension gd is missing from your system.
- magento/framework 101.0.1 requires ext-gd * -> the requested PHP extension gd is missing from your system.
- Installation request for magento/framework 101.0.1 -> satisfiable by magento/framework[101.0.1].
To enable extensions, verify that they are enabled in your .ini files:
-
- /etc/php/7.0/cli/conf.d/10-opcache.ini
- /etc/php/7.0/cli/conf.d/10-pdo.ini
- /etc/php/7.0/cli/conf.d/15-xml.ini
- /etc/php/7.0/cli/conf.d/20-calendar.ini
- /etc/php/7.0/cli/conf.d/20-ctype.ini
- /etc/php/7.0/cli/conf.d/20-curl.ini
- /etc/php/7.0/cli/conf.d/20-dom.ini
- /etc/php/7.0/cli/conf.d/20-exif.ini
- /etc/php/7.0/cli/conf.d/20-fileinfo.ini
- /etc/php/7.0/cli/conf.d/20-ftp.ini
- /etc/php/7.0/cli/conf.d/20-gettext.ini
- /etc/php/7.0/cli/conf.d/20-iconv.ini
- /etc/php/7.0/cli/conf.d/20-json.ini
- /etc/php/7.0/cli/conf.d/20-phar.ini
- /etc/php/7.0/cli/conf.d/20-posix.ini
- /etc/php/7.0/cli/conf.d/20-readline.ini
- /etc/php/7.0/cli/conf.d/20-shmop.ini
- /etc/php/7.0/cli/conf.d/20-simplexml.ini
- /etc/php/7.0/cli/conf.d/20-sockets.ini
- /etc/php/7.0/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.0/cli/conf.d/20-sysvsem.ini
- /etc/php/7.0/cli/conf.d/20-sysvshm.ini
- /etc/php/7.0/cli/conf.d/20-tokenizer.ini
- /etc/php/7.0/cli/conf.d/20-wddx.ini
- /etc/php/7.0/cli/conf.d/20-xmlreader.ini
- /etc/php/7.0/cli/conf.d/20-xmlwriter.ini
- /etc/php/7.0/cli/conf.d/20-xsl.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
[ProcessFailedException]
The command failed with the exit code: 2
Full command: '/usr/local/bin/composer' 'install' '--no-progress' '--prefer-dist' '--optimize-autoloader' '--no-interaction' '--no-ansi'