yarn : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Users\user\AppData\Roaming\npm\yarn.ps1 파일을 로드할 수 없 습니다.
❓ 오류 발생 상황과 이유
- Windows 권한 문제로 yarn install이 되지 않고 위와 같은 오류 문구가 발생함
⭐해결방법
Powershell을 관리자 권한으로 실행함
아래의 명령어를 입력 후 Y(예)를 입력
get-help Set-ExecutionPolicy
아래의 명령어를 입력 후 Y(예)를 입력
Set-ExecutionPolicy RemoteSigned
터미널로 돌아가서 npm i -g yarn을 하면 정상적으로 설치됨
'공부 > Error' 카테고리의 다른 글
mac yarn 다운로드 오류 - errno: -13 (0) | 2023.07.03 |
---|---|
error: store does not have a valid reducer. (0) | 2023.07.01 |
error: failed to push some refs to .... 오류 (0) | 2023.06.24 |
error: Command failed with exit code 1 (0) | 2023.06.23 |
There isn’t anything to compare - 오류 해결 방법 (0) | 2023.06.21 |