This error message means that the script is prohibited from running on your system, causing nodemon.ps1
the file to fail to load. This is usually caused by PowerShell execution policy.
PowerShell's execution policy is a security feature used to restrict the running of scripts. By default, Windows sets the execution policy to "Restricted," which means no scripts are allowed to run.
To solve this problem, you can try the following methods:
- Open PowerShell as administrator and run the following command to modify the execution policy:
Set-ExecutionPolicy RemoteSigned
This will allow running signed scripts on the local machine.
Please note that changing the execution policy may reduce the security of the system. Before changing the execution policy, make sure you trust and understand the source of the script you want to run.