LoginSignup
2
1

More than 5 years have passed since last update.

React native プロジェクト新規作成時 エラー について

Posted at

最近流行りのreact nativeを使ってみようと思いプロジェクトを新規作成しようとした時

npx react-native init project_name

のコマンドを打っても

Looks like you installed react-native globally, maybe you meant react-native-cli?
To fix the issue, run:
npm uninstall -g react-native
npm install -g react-native-cli

とひたすら怒られる。上記のコマンドを実行しても変わらず、、、、、、、、、、、

解決法

npx react-native-cli init project_name

このコマンドを打ったらすんなりいけた

maybe you meant react-native-cli?とエラー文で言われたのでもしかしてと思いこれを実行したらいけました。。。。。。。 が原因は不明のままですっっっw

2
1
1

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
2
1