A common issue related to this is that XAMPP can’t write to your wp-content
directory.
If you don’t know how to change this, you can edit wp-config.php
and add this line:
define('FS_METHOD','direct');
For detailed information, read wp-config.php documentation.