AppData\Roaming\npm\yarn.ps1 로드할 수 없습니다

문제

yarn : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Users\<USERNAME>\AppData\Roaming\npm\yarn.ps1 파일을 로드할 수 없습니다. 자세한 내용은 about_Execution_Policies(https://go.microsoft.com/fwlink/?LinkID=135170)를 참조하십시
오.
위치 줄:1 문자:1
+ yarn
+ ~~~~
    + CategoryInfo          : 보안 오류: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess

원인

해결

"terminal.integrated.profiles.windows": {
    "PowerShell_default": {
        "source": "PowerShell",
        "args": ["-ExecutionPolicy", "Bypass"]
    }
},
"terminal.integrated.defaultProfile.windows": "PowerShell_default",