React-native를 expo.io로 실제 기계 디버깅 (CLI 버전)
1707 단어 react-nativeexpo
Node.js를 넣습니다.
Get the command line tool
npm install exp --global
Create your first project
create app
exp init my-new-project
app start
cd my-new-project
exp start
? How would you like to authenticate? (Use arrow keys)
❯ Make a new Expo account
Log in with an existing Expo account
Cancel
input maill address
An Expo user account is required to proceed.
? How would you like to authenticate? Log in with an existing Expo account
? You are already logged in as xxxxxx. Log in as new user? Yes
? Username/Email Address: ```
? Password: [hidden]
Success. You are now logged in as xxxxxx.
12:13:30 [exp] Using project at /Users/xxxxxx/Documents/my-new-project
12:13:32 [exp] Warning: You are using npm version 5.6.0. There may be bugs in this version, use it at your own risk. We recommend version latest.
12:13:40 [exp] Starting React Native packager...
12:13:42 [exp] Loading dependency graph.
12:13:43 [exp] Dependency graph loaded.
12:13:44 [exp] Tunnel connected.
12:13:45 [exp] Expo is ready.
12:13:46 [exp] Warning: You are using npm version 5.6.0. There may be bugs in this version, use it at your own risk. We recommend version latest.
여기에 QR 코드가 표시되므로 카메라로 촬영하여 액세스한다.
시작됨
Reference
이 문제에 관하여(React-native를 expo.io로 실제 기계 디버깅 (CLI 버전)), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/sugasaki/items/f91772ab40a6fb4133c8텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)