Closed diriy closed 8 years ago
I can't reproduce this error. Please follow the installation instructions as shown in https://github.com/javiereguiluz/EasyAdminBundle#installation
If you still have problems, please tell me your PHP version and your operating system. Thanks!
I followed it. So, I've got PHP 5.6 & Windows 7 x64
Composer created this file in the appropriate directory and then crashed. I attached this file
but it shows something strange:
I've cloned the bundle from GitHub and pasted it to /vendor as it should be after installation with composer. I have another error: Attempted to load class "EasyAdminBundle" from namespace "JavierEguiluz\Bundle\EasyAdminBundle". Did you forget a "use" statement for another namespace?
Some problems with mappings, as far as I understood. But what should I do in order to let the bundle work properly?
@diriy this error is really strange. It looks like a problem related to Composer. Have you installed other Symfony bundles before with this same Composer version? Thanks.
yes, I did it, but they work correctly, without any errors. I installed HappyRGoogleApiBundle, DoctrineMigrationsBundle, DoctrineCacheBundle and KnpMarkdownBundle. They work great. The other strange thing is following: I installed it at another machine with another bundles (FOSUserBundle and VichUploaderBundle) for another purposes but had no errors with composer or the whole bundle. I can connect by TeamViewer or Skype and show you my project if you can help. I don't really know, how to solve this trouble...
when I tried to install bundle to fresh symfony3 installation, I got the following:
composer require javiereguiluz/easyadmin-bundle Using version ^1.15 for javiereguiluz/easyadmin-bundle ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Nothing to install or update Generating autoload files
and no folder in /vendor/ path...
sorry - my mistake. Tried to do "$composer requre..." at the inappropriate path.. bit tired cause struggled with this bundle during whole day....=)) it installed properly on fresh version...
Restored to previously worked version. Tried to install it again an got the first error once again. I have the strange feeling that I will hate composer during all my future life after this crazy day=))))))How can I install bundle properly without composer?...
I've found some issue which may be related: https://github.com/composer/composer/issues/604 I think, it's an answer..
Updated:
Yes, it works fine! So the solution was to move the project to the above directory because the length of path was too big. So, thanks a million for your feedback and your help!
@diriy wow! That was a tricky issue! Thanks for providing the details in case someone else faces the same problem. Closing it as "fixed" then.
I've tried to install the bundle via composer. It returns with the following error:
How can I install it? I use Symfony 3.