PowerShell yarn 사용 불가 문제

김민석·2022년 7월 25일
0

Issue

목록 보기
3/9

Intro

# yarn.ps1 cannot be loaded because running scripts is disabled on this system

위와같은 powershell에서 yarn이 실행 불가능한 문제와 마주쳤다. 이는 현재 유저의 실행 정책이 설정되지 않아 마주한 문제이다

powershell을 관리자 권한으로 실행 후, 아래의 코드를 입력한다

Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted

Reference

profile
TS 풀스택&인공지능 개발자

1개의 댓글

comment-user-thumbnail
2023년 10월 3일

powershell 이 은근 cmd 보다 복잡한 명령어를 쳐야할 때가 있단 말이죠... 고생하셨습니다!

답글 달기