sage-installer
sage-installer copied to clipboard
postCreateProject not executing
After running a fresh install of Sage with composer create-project roots/sage project dev-master
, the postCreateProject interactive portion of the install process fails to execute anything.
Here's my output:
troymcginnis@Troys-MacBook-Pro:themes$ composer create-project roots/sage project dev-master
Installing roots/sage (dev-master de27307b820305302fe2c5defd4bbee4e02a1dc3)
- Installing roots/sage (dev-master master)
Cloning master
Created project in project
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
- Installing composer/installers (v1.4.0)
Loading from cache
- Installing paragonie/random_compat (v2.0.10)
Loading from cache
- Installing illuminate/contracts (v5.4.27)
Loading from cache
- Installing doctrine/inflector (v1.2.0)
Loading from cache
- Installing illuminate/support (v5.4.27)
Loading from cache
- Installing illuminate/container (v5.4.27)
Loading from cache
- Installing illuminate/events (v5.4.27)
Loading from cache
- Installing psr/log (1.0.2)
Loading from cache
- Installing symfony/debug (v3.3.6)
Loading from cache
- Installing symfony/finder (v3.3.6)
Loading from cache
- Installing illuminate/filesystem (v5.4.27)
Loading from cache
- Installing illuminate/view (v5.4.27)
Loading from cache
- Installing illuminate/config (v5.4.27)
Loading from cache
- Installing roots/sage-lib (9.0.0-beta.4)
Loading from cache
- Installing symfony/yaml (v3.3.6)
Loading from cache
- Installing hassankhan/config (0.10.0)
Loading from cache
- Installing brain/hierarchy (2.3.0)
Loading from cache
- Installing soberwp/controller (9.0.0-beta.4)
Loading from cache
- Installing symfony/polyfill-mbstring (v1.5.0)
Loading from cache
- Installing symfony/translation (v3.3.6)
Loading from cache
- Installing nesbot/carbon (1.22.1)
Loading from cache
- Installing symfony/process (v3.3.6)
Loading from cache
- Installing symfony/console (v3.3.6)
Loading from cache
- Installing illuminate/console (v5.4.27)
Loading from cache
- Installing roots/sage-installer (1.3.1)
Loading from cache
- Installing squizlabs/php_codesniffer (2.9.1)
Loading from cache
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
illuminate/support suggests installing symfony/var-dumper (Required to use the dd function (~3.2).)
illuminate/filesystem suggests installing league/flysystem (Required to use the Flysystem local and FTP drivers (~1.0).)
illuminate/filesystem suggests installing league/flysystem-aws-s3-v3 (Required to use the Flysystem S3 driver (~1.0).)
illuminate/filesystem suggests installing league/flysystem-rackspace (Required to use the Flysystem Rackspace driver (~1.0).)
symfony/translation suggests installing symfony/config ()
symfony/console suggests installing symfony/event-dispatcher ()
symfony/console suggests installing symfony/filesystem ()
illuminate/console suggests installing guzzlehttp/guzzle (Required to use the ping methods on schedules (~6.0).)
illuminate/console suggests installing mtdowling/cron-expression (Required to use scheduling component (~1.0).)
Generating autoload files
Do you want to remove the existing VCS (.git, .svn..) history? [Y,n]? Y
> Roots\Sage\Installer\ComposerScript::postCreateProject
troymcginnis@Troys-MacBook-Pro:themes$
As you can see at the end of composer run, the postCreateProject generates no further output.
Thoughts?
weird, can't re-reproduce and we haven't seen any other reports of this
does running composer run-script post-create-project-cmd
from the theme directory cause the interactive prompt to start?
have you tried updating composer?
what's your version of php running locally?
Must be an environment issue...
I've updated to composer v1.6.3 and am running php 7.0.8 locally.
Running composer run-script post-create-project-cmd
from the theme directory seems to do nothing other than output: > Roots\Sage\Installer\ComposerScript::postCreateProject
.
Running the following does work, however:
./vendor/bin/sage meta
./vendor/bin/sage config
./vendor/bin/sage preset