phinx icon indicating copy to clipboard operation
phinx copied to clipboard

not app folder: vendor/robmorgan/phinx/bin/../app/phinx.php

Open vichaunter opened this issue 8 years ago • 4 comments

When using composer and require the project, it only create the bin folder, not app or src folders inside vendor/robmorgan/phinx.

If i downloda it by hand and copy to proper vendor folder from git it works, but time before when installing was working correctly. Now, i tried in several installs and seems to be same problem.

vichaunter avatar May 07 '18 06:05 vichaunter

@vichaunter: Can you please share the command you've been executed which lead you to the broken install?

ktomk avatar May 27 '18 08:05 ktomk

Are you using cygwin?

rquadling avatar May 27 '18 09:05 rquadling

Hello, i want to say sorry, because 2 days ago i found the problem and forget to post the solution here.

It was another package installed with composer, specifically this one: dg/composer-cleaner

This package delete "unused files", and is deleting that files in folders that are not being used directly, i guess it will give also problems with bootstrap and this kind of packages, but not tested.

i just uninstalled it and everything start working correctly.

composer remove dg/composer-cleaner

Thankyou for your help!

vichaunter avatar May 29 '18 18:05 vichaunter

If you want to remove "unused" content, then a tool like https://github.com/raphaelstolt/lean-package-validator will help in that. At least for packages you control. If you're finding significant bloat from other packages, then forking, "lpv"-ing, and submitting a PR will certainly help everyone.

rquadling avatar May 29 '18 21:05 rquadling