Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

composer update/install fails #97

Closed
pablomoreno61 opened this issue Apr 15, 2016 · 8 comments
Closed

composer update/install fails #97

pablomoreno61 opened this issue Apr 15, 2016 · 8 comments

Comments

@pablomoreno61
Copy link

I'm getting this error while trying to update the package:

PhantomInstaller\Installer::installPhantomJS
Script PhantomInstaller\Installer::installPhantomJS handling the post-install-cmd event terminated with an exception

[RuntimeException]
Can not determine required version of jakoch/phantomjs-installer

@SoldierCorp
Copy link

Same problem here, using Laravel 4.2

@ghost
Copy link

ghost commented Apr 19, 2016

Very new to PHP, no idea how to even work around this. @SoldierCorp or @pablomoreno61 have any idea how I can get a previous version installed?

@jonnnnyw
Copy link
Owner

jonnnnyw commented Apr 20, 2016

I have just patched this in v4.3.2 which should solve this issue. Can you please confirm.

@gorillaedan
Copy link

I get this error when run omposer require "jonnyw/php-phantomjs:4.*"

screenshot_215

@jonnnnyw
Copy link
Owner

Strange... do you already have an older version required/installed? I just tried a clean install using the command you posted and it worked fine.

Check that you have the following in your composer.json file, under the the require key:

"jonnyw/php-phantomjs": "4.*"

If you do and it's still not working then as a last resort you could delete your vendor folder and composer.lock file and run composer update.

@ghost
Copy link

ghost commented Apr 20, 2016

@jonnnnyw That actually worked. Removed my vendor folder, removed my lock file, and triggered an update. Thank you so much for issuing this update.

@jonnnnyw
Copy link
Owner

No problem

@pablomoreno61
Copy link
Author

Hi @jonnnnyw , I've already installed the latest version without removing vendor folder. Executing "composer install" throws an error "Can not determine required version of jakoch/phantomjs-installer", but executing "composer update" works perfectly.

thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants