Open jfelixoptimiumnc opened 2 years ago
Hey @jfelixoptimiumnc
Can you please check storage/logs/
and tell me what was logged there when this error happened ?
Cheers
Ouch! Thanks for reaching out.
Any chance you can follow the manual process here, you should get a more specific error message, at the very least?
Hi Christian,
Indeed, sorry did not see the manual procedure. It works.
The point is that I use "composer.phar" on the root folder so i guess the auto procedure fails (confirmed from the logs).
Thx for your quick help.
Best,
Damn... composer.phar
- that's right, we didn't take that into account... Thank you @jfelixoptimiumnc 🙏
Can we take that into consideration when we run composer commands @promatik ? Options:
app()->composer()
like it does app()->artisan()
- we could use the same;composer.phar
? or maybe we echo an error message that's clearer if we detect this problem? something like "Composer command not found. Please run the manual installation procedure for this addon, as outlined in the docs."@tabacitu I am not that familiar with the installation process and it is taking me long to get my head around it. I don't have a problem to invest more time, but I just figured out that maybe you have someone else who can take over this? Or I can research a bit more until I can do it. Let me know!
Good thinking @maurohmartinez . @pxpm any insight into this?
@tabacitu from my research I think it's safe to use app()->composer()
since they have a "search composer" function that will look for the .bat
fille.
https://github.com/laravel/framework/blob/11edbfee376a3822911d9df1044c618eb584dce6/src/Illuminate/Support/Composer.php#L68
Awesome. Yeah, then let's do that!
Hi,
php artisan backpack:require:devtools
INFO Connecting to the Backpack add-on repository
│ Backpack repository entry is present in composer.json. │ Backpack authentication token is present.
Require Backpack DevTools on dev .............................................................................. ERROR │ For further information please check the log file. │ You can also follow the manual installation process documented in https://backpackforlaravel.com/addons/
Thx for your help.