LoginSignup
0
0

More than 5 years have passed since last update.

React-nativeをexpo.ioで実機デバッグ(CLI版)

Posted at

Expo — Learn how

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コードが表示されるので、カメラで撮影してアクセスする。

起動しました

IMG_7994.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0