Open weierophinney opened 4 years ago
@mickaelmonsieur If you need solution for now I can suggest just to remove whole vendor directory and run composer update
(or composer install
) again. Then development mode should work as expected.
I've investigated it, and for me it seems to be wrong zip package with apigility-skeleton 1.4.1. We will try to resolve it somehow :) Thanks for reporting the issue!
Originally posted by @michalbundyra at https://github.com/zfcampus/zf-apigility-skeleton/issues/155#issuecomment-279993614
Hi @webimpress, Thanks for the solution!
I confirm:
`web2@vps104:/var/www/api.xx.net/web$ mv vendor/ vendor_old web2@vps104:/var/www/api.xx.net/web$ composer update Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 61 installs, 0 updates, 0 removals
Originally posted by @mickaelmonsieur at https://github.com/zfcampus/zf-apigility-skeleton/issues/155#issuecomment-280053546
Off topic: I also think that github has a problem with the code <> tag ...
Originally posted by @mickaelmonsieur at https://github.com/zfcampus/zf-apigility-skeleton/issues/155#issuecomment-280054159
Hi,
I installed the current version of apigility and can not disable the development mode:
` web2@vps104:/var/www/api.xx.net/web$ curl -sS https://apigility.org/install | php Download Apigility ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Install Apigility Installation complete. Running PHP internal web server. Open your browser to http://localhost:8888, Ctrl-C to stop it. ^C web2@vps104:/var/www/api.xx.net/web# ./vendor/bin/zf-development-mode disable bash: ./vendor/bin/zf-development-mode: Permission non accordée (EN: Forbidden) web2@vps104:/var/www/api.xx.net/web# chmod +x ./vendor/bin/zf-development-mode web2@vps104:/var/www/api.xx.net/web$ ./vendor/bin/zf-development-mode disable Cannot locate autoloader; please run "composer install" web2@vps104:/var/www/api.xx.net/web$ composer install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Nothing to install or update Generating autoload files web2@vps104:/var/www/api.xx.net/web$ ./vendor/bin/zf-development-mode disable Cannot locate autoloader; please run "composer install" web2@vps104:/var/www/api.xx.net/web$ composer -v
/ __/_ __ _ ____ / / / \/ ` \/ \/ \/ / _ \/ / / // // / / / / / / // / // ( ) / / __/__// // // ./__/__/\// // Composer version 1.3.2 2017-01-27 18:23:41 `
Originally posted by @mickaelmonsieur at https://github.com/zfcampus/zf-apigility-skeleton/issues/155