NPX and NPM about_Execution_Policies fix after installing nodejs in windows 10/11/12
Hi Everyone,
After Installing NodeJS in your Windows you might face the error below for NPM and NPX, in this video I have solved the issue via a powershell command.
npx : File C:\Program Files\nodejs\npx.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 line:1 char:1
npx
~~~
CategoryInfo : SecurityError: (:) [], PSSecurityException
FullyQualifiedErrorId : UnauthorizedAccess
npm : File C:\Program Files\nodejs\npm.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 line:1 char:1
npm
~~~
CategoryInfo : SecurityError: (:) [], PSSecurityException
FullyQualifiedErrorId : UnauthorizedAccess
Thank you for watching my video, Don't forget to like, share, and comment below also Subscribe to my channel and press the bell icon to get notification of upcoming videos.
Social Links :
Youtube : / @swatigaming
Facebook : https://www.facebook.com/swatigaming
Twitter : https://twitter.com/SwatiGaming
Instagram : https://www.instagram.com/swatigaming
Twitch : https://www.twitch.tv/swatigaming
Reddit : https://www.reddit.com/user/SwatiGaming
Patreon : https://www.patreon.com/SwatiGaming
Mixer : https://mixer.com/swatigaming
Player Me : https://player.me/swatigaming
Steam : https://steamcommunity.com/id/Farhan_Khan_Swati
Tags:
#npm #npx #nodejs