WordPress needs to be installed on a web server\ code example
Example: To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host
define( 'FS_METHOD', 'direct' );