ETC/에러 모음
win10 vue error 해결
Guardy
2020. 10. 27. 10:22
728x90
vue
vue : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Users\User\AppData\Roaming\npm\vue.ps1 파일을 로드할 수 없습니다. 자세한 내용은 about_Execution_Policies(https://go.microsoft.com/fwlink/?LinkID=135170)를 참조하십시오.
위치 줄:1 문자:1
+ vue
+ CategoryInfo : 보안 오류: (:) [], PSSecurityException
다음과 같이 vue 설치 후 에러가 뜰때 해결 방법이다. window 10환경에서 에러가 났다.
powershell을 관리자권한으로 실행시킨 뒤 다음 명령어들을 입력한다.
get-executionpolicy
set-executionpolicy remotesigned
get-executionpolicy
입력한 뒤 다시터미널을 재기동하여 vue를 친 결과 정상적으로 나오는 것을 확인할 수 있다.
vue
Usage: vue <command> [options]
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
init generate a new project from a template
list list available official templates
build prototype a new project
create (for v3 warning only)
help [cmd] display help for [cmd]
도움이 되셨다면 댓글과 공감해주시면 감사드리겠습니다!!
728x90