강의

멘토링

커뮤니티

인프런 커뮤니티 질문&답변

oung1002님의 프로필 이미지
oung1002

작성한 질문수

테스트주도개발(TDD)로 만드는 NodeJS API 서버

모카(macha) 3

window mocha 환경 실행 오류

작성

·

320

0

node_modules/.bin/mocha utils.spec.js를 치면, 

node_modules/.bin/mocha : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Users\ds\Desktop\node.js 

\4_TDD\macha\node_modules\.bin\mocha.ps1 파일을 로드할 수 없습니다. 자세한 내용은 about_Execution 

_Policies(https://go.microsoft.com/fwlink/?LinkID=135170)를 참조하십시오.

위치 줄:1 문자:1

+ node_modules/.bin/mocha utils.spec.js

+ ~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : 보안 오류: (:) [], PSSecurityException

    + FullyQualifiedErrorId : UnauthorizedAccess

라고 뜨는데 왜 그런지 모르겠습니다. 경로 등은 모두 영상과 동일합니다.

답변 2

0

혹시 권한 설정을 어떻게 바꾸셨나요?

0

oung1002님의 프로필 이미지
oung1002
질문자

powershell 권한 설정을 바꾸니 괜찮아지네요~

oung1002님의 프로필 이미지
oung1002

작성한 질문수

질문하기