How to Fix "nodemon.ps1 cannot be loaded" Error in Node.js

Channel:
Subscribers:
24,900
Published on ● Video Link: https://www.youtube.com/watch?v=i2xrhIWMdDs



Category:
Guide
Duration: 1:41
199 views
3


In this video I'll show you How to Fix the following Errors on Your Terminal :
nodemon : File Path...\nodemon.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170.
At lineL1 char:1
+nodemon
+~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityExpection
+ FullyQualifiedErrorid: UnauthorizedAcess

Are you encountering the error message "nodemon : File Path...\nodemon.ps1 cannot be loaded because running scripts is disabled on this system" while trying to use nodemon in your Node.js project? This error is related to execution policies in PowerShell. In this guide, we'll provide you with step-by-step instructions to fix this error and enable running scripts on your system. You'll learn how to adjust the execution policy settings and get nodemon working smoothly in your Node.js development environment.

PS C:\Users\19163 Set-ExecutionPolicy RemoteSigned -Scope CurrentUser

Execution Policy Change
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose
you to the security risks described in the about_Execution_Policies help topic at
https:/go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?

0:00 Intro
0:11 100% Working Solution
1:06 Checking Results

Social Media:-
-----------------------
Facebook - @athitechofficial
Instagram - @athitech_official
============================================*
Thanks for Watching...
Please, Like, Comment, and Subscribe to Our Channel. :)
============================================*







Tags:
Athi Tech
athitech
cannot be loaded because running scripts is disabled on this system
Node.js
Nodemon
PowerShell
Execution policies
Error fixing
Node.js development
Script running
Troubleshooting
Programming
JavaScript
windows 11
windows 10
powershell error