Silverstripe Version: 4.2.1
Problem: composer create-project fails during installation
Hello,
I am trying to install SilverStripe 4 via the recommended composer way with:
composer create-project silverstripe/installer . 4.2.1
which results in the error below:
C:\webserver\devlabs\silverstripe-4\htdocs
λ composer create-project silverstripe/installer . 4.2.1
Installing silverstripe/installer (4.2.1)
- Installing silverstripe/installer (4.2.1): Loading from cache
Created project in .
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 69 installs, 0 updates, 0 removals
- Installing composer/installers (v1.6.0): Loading from cache
- Installing silverstripe/recipe-plugin (1.3.0): Downloading (100%)
- Installing silverstripe/vendor-plugin (1.3.3): Downloading (100%)
- Installing symfony/polyfill-ctype (v1.9.0): Loading from cache
- Installing symfony/yaml (v3.4.15): Downloading (100%)
- Installing symfony/polyfill-mbstring (v1.9.0): Loading from cache
- Installing symfony/translation (v2.8.45): Downloading (100%)
- Installing symfony/filesystem (v4.1.4): Loading from cache
- Installing symfony/config (v3.4.15): Downloading (100%)
- Installing symfony/polyfill-apcu (v1.9.0): Downloading (100%)
- Installing psr/simple-cache (1.0.1): Loading from cache
- Installing psr/log (1.0.2): Loading from cache
- Installing psr/cache (1.0.1): Downloading (100%)
- Installing symfony/cache (v3.4.15): Downloading (100%)
- Installing swiftmailer/swiftmailer (v5.4.12): Downloading (100%)
- Installing symfony/finder (v3.4.15): Downloading (100%)
- Installing marcj/topsort (1.1.0): Downloading (100%)
- Installing silverstripe/config (1.0.6): Downloading (100%)
- Installing psr/http-message (1.0.1): Downloading (100%)
- Installing guzzlehttp/psr7 (1.4.2): Downloading (100%)
- Installing intervention/image (2.4.2): Loading from cache
- Installing silverstripe/framework (4.2.1): Downloading (100%)
Writing .htaccess to resources folder
Exposing web directories for silverstripe-vendormodule silverstripe/framework with method auto:
- client/images
- client/styles
- src/Dev/Install/client
[UnexpectedValueException]
RecursiveDirectoryIterator::__construct(C:\webserver\devlabs\silverstripe-4\htdocs\public\resources\vendor\silverstripe\framework\client\images,C:\webserv
er\devlabs\silverstripe-4\htdocs\public\resources\vendor\silverstripe\framework\client\images): Das System kann den angegebenen Pfad nicht finden. (code:
3)
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]
- Composer version 1.7.2 2018-08-16 16:57:12
- PHP 7.2.1
“Das System kann den angegebenen Pfad nicht finden” is german for “The system can’t find the given path”.
Am I missing something?
Thanks