Software⏱️ 2 min read📅 2026-06-03

How to Fix: How to fix error- nodemon.ps1 cannot be loaded because running scripts is disabled on this system, (without security risk)?

Error fixing nodemon.ps1 in Windows PowerShell

Quick Answer: Run Windows PowerShell as Administrator to enable script execution and resolve the issue.

To resolve the issue of 'nodemon.ps1' cannot be loaded because running scripts is disabled on this system, follow these steps:

🛑 Root Causes of the Error

  • Running scripts is disabled on this system, which prevents PowerShell from executing scripts.

🔧 Proven Troubleshooting Steps

Method 1: Run as Administrator

  1. Step 1: Open Windows PowerShell with Run as Administrator.

Method 2: Change Execution Policy

  1. Step 1: Run the command 'Get-ExecutionPolicy' to check the current execution policy.

Method 2 (continued):

  1. Step 1: Run the command 'Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned' to enable script execution.

💡 Conclusion

By following these steps, you should be able to resolve the 'nodemon.ps1' error and enable script execution on your system.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions