phundament / app

Dockerized Yii2 web application base
http://phundament.com
Other
310 stars 129 forks source link

Error installing - Call to undefined method Composer\Script\Event::getOperation() #189

Open dgleba opened 8 years ago

dgleba commented 8 years ago

I am getting an error installing.

I ran:

    composer global require "fxp/composer-asset-plugin"
    composer create-project --stability=beta phundament/app myapp

I got this error from the create-project line..

> Phundament\ComposerCallback::postPackageInstall
PHP Fatal error:  Call to undefined method Composer\Script\Event::getOperation() in /var/www/html/myapp/src/Phundament/ComposerCallback.php on line 125

I did a composer clear-cache, but that didn't help.

I am running this on an ubuntu 14.04 virtualbox vm.

Can someone help me with this?

schmunk42 commented 8 years ago

You wanted to install Phundament 4, right? Because the error you get is from Phundament 3 (still latest stable).

Could you double check if you see this during installation?

Installing phundament/app (4.0.0-rc8)

I just tried to reproduce the problem, but without success.