재유's

[PowerShell] express : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Users\_stella\AppData\Roaming\npm\express.ps1 파일을 로드할 수 없습니다. 자세한 내용은 about_Execution_Policies(https://go.microsoft.com/fwlink/?Li.. 본문

카테고리 없음

[PowerShell] express : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Users\_stella\AppData\Roaming\npm\express.ps1 파일을 로드할 수 없습니다. 자세한 내용은 about_Execution_Policies(https://go.microsoft.com/fwlink/?Li..

Stella_NY 2021. 2. 9. 16:33

PowerShell로 express를 실행시 다음과 같은 에러가 발생

express : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Users\_stella\AppData\Roaming\npm\express.ps1 파일을 로드할 수 없습니다. 자세한 내용은 about_Execution_Policies(https://go.microsoft.com/fwlink/?Li nkID=135170)를 참조하십시오.

 

해결 방법

해결 방법

 

1. PowerShell을 관리자 권한으로 실행

 

2. Get-ExecutionPoliy 명령어를 입력시 실행규칙 상태가 보여진다.

$ Get-ExecutionPolicy
Get-ExecutionPolicy

 3. 실행 정책이 RemoteSigned 가 아니면 다음 명령어를 입력

$ Set-ExecutionPolicy RemoteSigned
실행규칙변경 옵션

4. Y 입력

5. Get-ExecutionPolicy 를 입력하여 변경값 체크

 

Comments