When npm Fails to Run on Windows

힘센캥거루
2025년 3월 25일
75
etc

I installed nodejs with choco for a class with students at school.

There were no issues with the installation, but...

When npm Fails to Run on Windows-1

When npm Fails to Run on Windows-2

npm doesn't run 😢

After Googling, I found out to type the following command:

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force

After doing this, npm works correctly.

Makes you wonder why not just use Ubuntu or a Mac.

When npm Fails to Run on Windows-3

댓글을 불러오는 중...