Fix nodemon.ps1 cannot be loaded because running scripts is disable on this system | Nodemon Unauthorized Access

I hope you enjoy reading this!
Don’t forget to share this blog with your friends.

Table of Contents
Fix nodemon.ps1 cannot be loaded because running scripts is disable on this system Nodemon Unauthorized Access

You may face this same issue in your development environment on Windows operation systems, so let fix it!

Nodemon

nodemon is a development process manager for node JS, which basically solves a problem of the node by automatically restarting the node JS server whenever a file content got changed in the development environment.

THE ISSUE?

nodemon.ps1 cannot be loaded because running scripts is disable on this system

nodemon.ps1 cannot be loaded because running scripts is disable on this system
nodemon.ps1 cannot be loaded because running scripts is disable on this system

We get Nodemon Unauthorized Access error because nodemon is restricted by ExecutionPolicy (a windows term).

Fix nodemon.ps1 cannot be loaded because running scripts is disable on this system

This is really very simple to solve, just follow the following 5 steps.

  1. Run Powershell as Administrator.
Click Start, and type in PowerShell, right-click and select run as administrator
Click Start, and type in PowerShell, right-click and select run as administrator
  1. Type ‘Get-ExecutionPolicy’ and hit enter (Optional)
Get-ExecutionPolicy
  1. Type ‘Set-ExecutionPolicy Unrestricted’ and hit enter
Set-ExecutionPolicy Unrestricted
  1. Here Prowershell prompt for confirmation, Press Y
  2. Type ‘Get-ExecutionPolicy’ and hit enter (Optional)
Get-ExecutionPolicy

Now what?

You ready to start your nodemon as usual. Feel free to ask anything in the comments below!

1 thought on “Fix nodemon.ps1 cannot be loaded because running scripts is disable on this system | Nodemon Unauthorized Access”

Leave a Comment

Your email address will not be published. Required fields are marked *

Get an AMAZING ARTICLE for FREE that cost me 100$
Get an AMAZING ARTICLE for FREE that cost me 100$