커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
Terminal 명령어 입력 시
[왕초보] 나만의 수익성 앱, 앱개발 종합반
3주차
북마크
최*상
댓글
23
추천
0
조회수
30
조회수
30
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.



Terminal 명령어 입력 시에 메모장이 뜨면서 아래와 같은 메세지가 기재되어 있습니다. 설정을 잘못 건드린 것 같은데 아무리 검색을 해봐도 유사한 증상을 찾을 수가 없어 도움을 요청합니다.



스파르타 즉문즉답




#!/usr/bin/env pwsh

$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent


$exe=""

if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {

 # Fix case when both the Windows and Linux builds of Node

 # are installed in the same directory

 $exe=".exe"

}

$ret=0

if (Test-Path "$basedir/node$exe") {

 # Support pipeline input

 if ($MyInvocation.ExpectingInput) {

  $input | & "$basedir/node$exe" "$basedir/node_modules/expo-cli/bin/expo.js" $args

 } else {

  & "$basedir/node$exe" "$basedir/node_modules/expo-cli/bin/expo.js" $args

 }

 $ret=$LASTEXITCODE

} else {

 # Support pipeline input

 if ($MyInvocation.ExpectingInput) {

  $input | & "node$exe" "$basedir/node_modules/expo-cli/bin/expo.js" $args

 } else {

  & "node$exe" "$basedir/node_modules/expo-cli/bin/expo.js" $args

 }

 $ret=$LASTEXITCODE

}

exit $ret



취소
 공유
취소
댓글 0
댓글 알림
나의얼굴