Permalink is the custom URL structure for your website. With BuddyPress, you should not use Plain. Because the dashboard URL and other dependent links are set up based on their slug.
To set up the correct permalink type, go to WordPress Dashboard > Settings > Permalinks.
If you have set Plain, then you will be getting a 404 error on the frontend page of BuddyPress Components.