There is an error that has been seen occasionally where the dependencies to build the client are not downloaded in time. It looks like this:
- Installing purplebooth/jane-open-api-autogenerate (v0.1.5)
Loading from cache
Could not scan for classes inside "/Users/nikola/Projects/Fitbug/kikplan-api/vendor/phpunit/phpunit-mock-objects/src/" which does not appear to be a file nor a folder
Could not scan for classes inside "/Users/nikola/Projects/Fitbug/kikplan-api/vendor/phpunit/php-code-coverage/src/" which does not appear to be a file nor a folder
Could not scan for classes inside "/Users/nikola/Projects/Fitbug/kikplan-api/vendor/symfony/polyfill-php70/Resources/stubs" which does not appear to be a file nor a folder
Could not scan for classes inside "/Users/nikola/Projects/Fitbug/kikplan-api/vendor/phpunit/phpunit/src/" which does not appear to be a file nor a folder
Could not scan for classes inside "/Users/nikola/Projects/Fitbug/kikplan-api/vendor/sebastian/version/src/" which does not appear to be a file nor a folder
- Installing fitbug/backoffice-fitbug-com-api-client (v0.5.0)
Cloning 481b98087c776535b2d603b30734c4cf7044597c from cache
PHP Fatal error: Class 'Symfony\Component\Serializer\Encoder\JsonEncoder' not found in /Users/nikola/Projects/Fitbug/kikplan-api/vendor/jane/open-api/src/JaneOpenApi.php on line 228
I've not been able to reproduce it, and it can be resolved by removing the vendor directory and $HOME/.composer/cache.
There is an error that has been seen occasionally where the dependencies to build the client are not downloaded in time. It looks like this:
I've not been able to reproduce it, and it can be resolved by removing the
vendor
directory and$HOME/.composer/cache
.