+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
PowerShell ExecutionPolicy
- Restricted : 기본값, Windows의 Client에 제한됨.
- RemoteSigned : 로컬 스크립트 및 원격 서명된 스크립트에 대해 허용
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
Execution Policy Change
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose you to the security risks described in the about_Execution_Policies help topic at
https:/go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): y
출처 :
실행 정책 정보 - PowerShell
PowerShell 실행 정책을 설명하고 이를 관리하는 방법을 설명합니다.
learn.microsoft.com
https://oyeahhh.tistory.com/170
[PowerShell] Error: 이 시스템에서 스크립트를 실행할 수 없으므로 ...
발생 예전부터 VS Code의 powershell에서 스크립트 실행시 동작하지 않았다. 그냥 저냥 Git Bash를 사용하며 어떻게 다른 방법으로 해결하고 지나갔는데 eslint --init을 진행할 수 없어서 (git bash 는 대화
oyeahhh.tistory.com
'공부 > 에러노트' 카테고리의 다른 글
[Spring] Hibernate Enum 사용시 type 문제 (0) | 2024.01.31 |
---|---|
[AWS] 플랫폼 후크를 사용한 Elastic Beanstalk 권한 설정 (0) | 2024.01.17 |
[Node.js] nvm설치후 버전변경 (0) | 2024.01.17 |
[Spring] WebSecurityConfigurerAdapter Deprecated (0) | 2024.01.16 |
[Spring] Jwt 의존성 설정 오류 : UnknownClassException (0) | 2024.01.15 |