Deploy issues with Symfony Project - JWT

102 Views Asked by At

I am trying to put my symfony project online by deploying it. Everytime I try to deploy it i got this messages.

Your lock file does not contain a compatible set of packages. Please run composer update. Problem 1 - lcobucci/jwt is locked to version 5.0.0 and an update of this package was not requested. - lcobucci/jwt 5.0.0 requires ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension. Problem 2 - lcobucci/jwt 5.0.0 requires ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension. - lexik/jwt-authentication-bundle v2.19.1 requires lcobucci/jwt ^3.4|^4.1|^5.0 -> satisfiable by lcobucci/jwt[5.0.0]. - lexik/jwt-authentication-bundle is locked to version v2.19.1 and an update of this package was not requested. To enable extensions, verify that they are enabled in your .ini files: - /app/vendor/php/etc/php.ini - /app/vendor/php/etc/conf.d/apcu.ini - /app/vendor/php/etc/conf.d/mongodb.ini - /app/vendor/php/etc/conf.d/opcache.ini - /app/vendor/php/etc/conf.d/redis.ini You can also run php --iniin a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with--ignore-platform-req=ext-sodium\ to temporarily ignore these required extensions. ! An error occurred during buildpack compilation ! Error deploying the application ! → Invalid return code from buildpack

Which is weird because sodium is activate, I made composer update and all other things written here

0

There are 0 best solutions below