pondersource / nextcloud-mfa-awareness

Make Nextcloud aware of whether the current user is logged in with Multi-Factor Authentication
MIT License
0 stars 2 forks source link

module missing on CodeSpace. #42

Closed navid-shokri closed 1 year ago

navid-shokri commented 1 year ago

when I run the composer install inside server folder I am getting this error :warning:

Problem 1

  • Root composer.json requires PHP extension ext-zip * but it is missing from your system. Install or enable PHP's zip extension. To enable extensions, verify that they are enabled in your .ini files:
  • /opt/php/8.0.27/ini/php.ini

@mrvahedi68

mrvahedi68 commented 1 year ago

You can ignore this extension when running composer install. Read send error and at the end has a help for that.

navid-shokri commented 1 year ago

I solved the issue by using the command mentioned in the error message below.

composer install --ignore-platform-req=ext-zip

But I think it is better that the trick be mentioned as a point inside the ReadMe doc