강의

멘토링

커뮤니티

Inflearn Community Q&A

wonseoklee3911's profile image
wonseoklee3911

asked

A real introductory all-in-one development boot camp for non-majors

Install Expo

expo 시작 오류

Resolved

Written on

·

621

1

expo를 global로 설치하고 init까지 한 후

npm start를 했을 때 일단 아래처럼 에러가 발생합니다.


Unable to find expo in this project - have you run yarn / npm install yet?


-> 이건 npm install을 해서 해결 했습니다.

 

그런데 그 후에도 또 아래와 같은 에러가 발생합니다.


PS D:\Programming\study\Inflearn\FullStack\project\grab-market-mobile> npm start

> grab-market-mobile@1.0.0 start

> expo start

Starting project at D:\Programming\study\Inflearn\FullStack\project\grab-market-mobile

Starting Metro Bundler

FetchError: request to https://api.expo.dev/v2/sdks/49.0.0/native-modules failed, reason: self signed certificate in certificate chain

FetchError: request to https://api.expo.dev/v2/sdks/49.0.0/native-modules failed, reason: self signed certificate in certificate chain

at ClientRequest.<anonymous> (D:\Programming\study\Inflearn\FullStack\project\grab-market-mobile\node_modules\node-fetch\lib\index.js:1501:11)

at ClientRequest.emit (node:events:513:28)

at TLSSocket.socketErrorListener (node:_http_client:494:9)

at TLSSocket.emit (node:events:513:28)

at emitErrorNT (node:internal/streams/destroy:157:8)

at emitErrorCloseNT (node:internal/streams/destroy:122:3)

at processTicksAndRejections (node:internal/process/task_queues:83:21)


이건 어떻게 해결해야 하나요?

HTML/CSSjavascriptreactnode.jsreact-native머신러닝expresstensorflow

Answer 1

1

wonseoklee3911님의 프로필 이미지
wonseoklee3911
Questioner

자답


Windows 기준으로 콘솔에서

set NODE_TLS_REJECT_UNAUTHORIZED=0

한번 해주고 npm start로 실행하니 잘 됩니다.

 

grab님의 프로필 이미지
grab
Instructor

결과 공유 감사합니다 :)

wonseoklee3911's profile image
wonseoklee3911

asked

Ask a question