API's Endpoints

Hi,

- Product: PowerShell Universal
- Version: 1.4.6

I have below error when I click API’s endpoint:
'These is an error with the configuration script for this page. You will need to correct the issue manually before continuing.

Environment not found: Windows PowerShell 5.1’
What I should change to repair it?

Thanks in advance

I had something similar and had to delete the endpoints.ps1 file in the repository