Error 1:
.ps1 cannot be loaded because the execution of scripts is disabled on this system
Solution
- Set-ExecutionPolicy -Scope Process Unrestricted works for me
reference link:
https://stackoverflow.com/questions/16460163/ps1-cannot-be-loaded-because-the-execution-of-scripts-is-disabled-on-this-syste
Reason for this error:
My pc is on domain so there are many restriction all applied by admin.
this is breaking backend processes while developing react-native app specially working with sanity.