developerasun / myCodeBox-web

Open source code box for web developers.
Apache License 2.0
5 stars 0 forks source link

[BUG] pnpm/terminal: ps1 cannot be loaded because running scripts is disabled on this system #256

Closed developerasun closed 2 years ago

developerasun commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to terminal
  2. Enter below command
pnpm install
  1. see error

Expected behavior pnpm package installed

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

Labeling Add a proper label for the issue

developerasun commented 2 years ago

solution: run below command in powershell admin mode

Set-ExecutionPolicy RemoteSigned