I am not much familier with composer install, some how I am trying to make it work.
Many a time I get this error. but dont know what to do ( the current error is with Elgg-2.0.0-rc.1)
**************************************************************************
Did you forget to run `composer global require fxp/composer-asset-plugin`?
**************************************************************************
Script php .scripts/check_global_requirements.php handling the pre-install-cmd event returned with an error
[RuntimeException]
Error Output: Changed current directory to /var/www/vhosts/vps.ensociale.com/enraiser.com
A script named lint would override a native Composer function and has been skipped
A script named test would override a native Composer function and has been skipped
A script named travis:install would override a native Composer function and has been skipped
A script named travis:install-with-mysql would override a native Composer function and has been skipped
[InvalidArgumentException]
Package fxp/composer-asset-plugin not found
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 0 likes
- enRaiser@enraiser
enRaiser - 0 likes
- enRaiser@enraiser
enRaiser - 0 likes
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 0 likes
- enRaiser@enraiser
enRaiser - 0 likes
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 0 likes
- enRaiser@enraiser
enRaiser - 0 likes
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 0 likes
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 0 likes
- enRaiser@enraiser
enRaiser - 0 likes
You must log in to post replies.Have you tried running the command `composer global require fxp/composer-asset-plugin`? :)
No , let me try , I didn't do it since I was not clear on it. and neither any one endorsed on internet.
Thanks, it works. seems like I asked a stupid Question.
Maybe the message could be changed somehow, so it would be clearer. Maybe mention that it is a command line command? Currently it doesn't really say *what* it is, but just that you need to run it. What do you think?
one who does not know what is composer. and just some how manage to install composer. will think that the message is from composer tool. as if composer is not working.
I didnt know that the this message is drafted by ELGG Developer community. Even if I could have got that hint I would have moved in that direction.
So I guess if you prepend the text something like then it makes more sense .
ELGG Dev Team =>Did you forget to run `composer global require fxp/composer-asset-plugin`?
How about:
Perfect.!
By the way my next issue is , there is no .htaccess file after composer install. I coped .htaccess from other elgg.2.0.alpha and then the issue is the cached files are denied. any Idea.
client denied by server configuration: .../cache/1448615636
I am skeptical , may be its not related to ELGG.( I am digging more)
Composer does not copy it, but Elgg's own installation feature. Just run the normal Elgg installation after running composer.
No, sorry. In fact composer *is* supposed to copy htaccess. I'm not sure why that didn't happen when you ran it.
Actually it coped the htaccess file but ech files where having only this line
I show that there is new folder called cache . but it also has a .htaccess with 'Deny from all'.
I just deleted that .htaccess file and now everything works fine.