Member-only story
When You Are Installing ReactJS (Bun) and Encounter PowerShell Execution Policy Errors — system. For more information, see about_Execution_Policies at
When working with tools like Bun or any other script-based utilities, you might encounter the following error in PowerShell:
Story List Categories:
- About Me & List of Stories
- Java — All things Java-related.
- Java Interview Playbook: Your Go-To Reading List — For interview preparation.
- JAVA-8 — Dedicated to Java 8 topics.
- Spring Boot & Spring — Focused on Spring and Spring Boot.
- Microservices Topics List — Covering various microservices to
PS D:\ReactApplication\Application> bun -v
bun : File C:\Users\sanjay singh\AppData\Roaming\npm\bun.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
+ bun -v
+ ~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccessThis error occurs because PowerShell’s execution policy is preventing the script from running. PowerShell uses execution…








