Web/Front - Vue

Vue_create 오류

잉_민 2022. 2. 15. 15:25
728x90
반응형

vue create 이름

오류 : 파일을 로드할 수 없습니다. 보안오류

PS C:\Workspace\git_frontback> vue create vueproj
vue : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Program Files\nodejs\vue.ps1 파일을 로드할 수 없습니다. 자세한 내
용은 about_Execution_Policies(https://go.microsoft.com/fwlink/?LinkID=135170)를 참조하십시오.
위치 줄:1 문자:1
+ vue create vueproj
+ ~~~
    + CategoryInfo          : 보안 오류: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess
PS C:\Workspace\git_frontback> Get-ExecutionPolicy
Restricted
PS C:\Workspace\git_frontback> Set-ExecutionPolicy RemoteSigned
PS C:\Workspace\git_frontback> Get-ExecutionPolicy
RemoteSigned
PS C:\Workspace\git_frontback> vue create vueproj

 

해결 : window terminal 관리자 권한 

Set-ExecutionPolicy RemoteSigned

실행

 

 

참고 :

https://dog-developers.tistory.com/183

 

[PowerShell] 이 시스템에서 스크립트를 실행할 수 없으므로 파일을 로드할 수 없습니다. 자세한 내

Visual Studio Code IDE 툴에서 TERMINAL 을 사용하여 webpack을 실행시 또는 다른 명령어 사용시 에러 해결 error message webpack : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Users\shimk\AppDa..

dog-developers.tistory.com

 

728x90
반응형