-
Notifications
You must be signed in to change notification settings - Fork 101
Problem with modules parameter: No modules installed. Are you in the root folder of a ZF2 application? #44
Comments
I just had the same trouble. If you have ZFTool in your vendor/ directory:
|
I had the same issue. BUT I also have the same issue with It appears that the ZF Tool runs in vendor/bin. I got round my create module problem using the syntax: Of course, there's no way to force the path in the zf.php modules command. |
I have the same problem as vagovszky. @timoziemann I'm not sure this solves the problem so much as avoids it. I imagine it works, but I don't think zftool was intended to run like that; maybe I'm wrong. I can see that it is related to it not being able to find the root of the application. If I hard code $basePath to '/path/to/application', it works fine. |
This problem should be fixed by my last push. Check and let me know, thanks. |
Now, when I run "./vendor/bin/zf.php modules" it throws an exception: "The application has thrown an exception!" |
@vagovszky I double check right now and it's working for me. Did you installed the ZFTool in you ZF2 application using composer? Did you update it? |
I am sorry, problem was on my side. I double check it too, try on empty project and it works fine now.. |
I installed ZF 2.2.0 and ZFTool, when I run "./vendor/bin/zf.php modules" in my application root i got this msg:
No modules installed. Are you in the root folder of a ZF2 application?
I installed ZFTool with composer (as a module).
Others params like (diagnostic, config, etc.) works fine for me..
The text was updated successfully, but these errors were encountered: