TroubleShooting/VueJs Issue
[Issue, Vuejs, Powershell] vue : 이 시스템에서 스크립트를 실행할 수 없으므로 파일을 로드할 수 없습니다. CategoryInfo : 보안 오류: (:) [],PSSecurityException
JMcunst
2022. 4. 1. 13:18
728x90
반응형
이슈
1. vue create '프로젝트이름' 명령어 입력시 다음과 같이 이슈 발생.
해결
1. 일단 보안정책 확인. // 기댓값 : Restricted
get-executionpolicy
2. 보안정책 수정.
set-executionpolicy remotesigned
3. 보안정책 변경 확인. // 기댓값 : Remotesigned
get-executionpolicy
원인
1. Powershell의 보안정책 중 하나로, Powershell이 실행할 스크립트 제어를 위하여 기본적으로 Restricted로 제한이 된다.
728x90
반응형