If you are using visual studio code:
- Open terminal
- Run the command: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
- Then run the command protractor conf.js
This is related to protractor test script execution related and I faced the same issue and it was resolved like this.