iMokhles / IMRepo_ARCHIVE

best cydia repo manager ever
15 stars 7 forks source link

Script php artisan optimize handling the post-install-cmd event returned with an error #4

Open istorepro opened 6 years ago

istorepro commented 6 years ago

Illuminate\Foundation\ComposerScripts::postInstall php artisan optimize [Symfony\Component\Debug\Exception\FatalErrorException] Illuminate\Support\ServiceProvider::loadRoutesFrom(): Failed opening requir ed '/home/imoham3d/public_html/vlc/IMRepo/vendor/rachidlaasri/laravel-insta ller/src/Providers/../routes/web.php' (include_path='.:/opt/alt/php70/usr/s hare/pear')

Script php artisan optimize handling the post-install-cmd event returned with an error

[RuntimeException] Error Output:

istorepro commented 6 years ago

??

iMokhles commented 6 years ago

What's your environment setup?

istorepro commented 6 years ago

i did not change anything i just do composer install

iMokhles commented 6 years ago

You have to install php 7.1 and latest composer version

istorepro commented 6 years ago

its 7.0 and Composer version 1.1.1

iMokhles commented 6 years ago

Upgrade Your php version

istorepro commented 6 years ago

same issue after update to 7.1

istorepro commented 6 years ago

IMRepo]$ composer install 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

iMokhles commented 6 years ago

You have to enable the required php extensions as mentioned by the output

iluwQaa commented 6 years ago

php (7.2.3) Composer version 1.6.3 Trying deploy on Heroku

PHP Fatal error: Illuminate\Support\ServiceProvider::loadRoutesFrom(): Failed opening required '/tmp/build_d8246a7d2e93959ed481a7575e2632d1/iluwQaa-IMRepo-0187ecd/vendor/rachidlaasri/laravel-installer/src/Providers/../routes/web.php' (include_path='.:/app/.heroku/php/lib/php') in /tmp/build_d8246a7d2e93959ed481a7575e2632d1/iluwQaa-IMRepo-0187ecd/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php on line 71

iMokhles commented 6 years ago

Hi @iluwQaa i have updated the project packages to fix this issue, clone the app and you can deploy it without issue to heroku

istorepro commented 6 years ago

https://xrepoo.herokuapp.com

Others issue now

iMokhles commented 6 years ago

yup fixed it now..

istorepro commented 6 years ago

Same issue brother

andrewwiik commented 6 years ago

You should keep an eye out for Packix packix.ioscreatix.com