Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solve Error When Installing fast On Windows 10 Via PowerShell #79

Closed
taljacob2 opened this issue Sep 17, 2022 · 0 comments
Closed

Solve Error When Installing fast On Windows 10 Via PowerShell #79

taljacob2 opened this issue Sep 17, 2022 · 0 comments

Comments

@taljacob2
Copy link

taljacob2 commented Sep 17, 2022

Hi,
I wanted to share with you a solution for an error I received when installing fast on Windows 10 via PowerShell.
It may be beneficial to add this to a "troubleshooting" documentation of some sort.

Steps I Made For Installation

I installed fast on Windows 10 via PowerShell, with:

npm install --global fast-cli

The installation had finished successfully, and I wanted to run fast with:

fast

And I received the following error:

fast.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at

image

Solution

So I searched for it on StackOverflow here, and it seems that it got fixed by running the command:

set-ExecutionPolicy RemoteSigned -Scope CurrentUser

And then fast worked fine from any PowerShell window (not only the window that I just ran that command on).

So in total the whole process looks like this:

image

@sindresorhus sindresorhus closed this as not planned Won't fix, can't repro, duplicate, stale May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants