回答編集履歴
3
a
answer
CHANGED
@@ -4,4 +4,9 @@
|
|
4
4
|
|
5
5
|
`node -v`でバージョンが5.2以降であると確認できる場合は、`npx`が使えるはずなので、`npx create-react-app my-app`もためしてみてください。
|
6
6
|
|
7
|
-
`npm`自体のバージョンが古い場合は`npm update -g npm`で`npm`自体をアップデートで。
|
7
|
+
`npm`自体のバージョンが古い場合は`npm update -g npm`で`npm`自体をアップデートで。
|
8
|
+
|
9
|
+
# 参考
|
10
|
+
- [npx](https://github.com/zkat/npx)
|
11
|
+
- [npm 5.2.0の新機能! 「npx」でローカルパッケージを手軽に実行しよう](https://qiita.com/tonkotsuboy_com/items/8227f5993769c3df533d)
|
12
|
+
- [create-react-app](https://github.com/facebook/create-react-app)
|
2
a
answer
CHANGED
@@ -2,4 +2,6 @@
|
|
2
2
|
|
3
3
|
または、
|
4
4
|
|
5
|
-
`node -v`でバージョンが5.2以降であると確認できる場合は、`npx`が使えるはずなので、`npx create-react-app my-app`もためしてみてください。
|
5
|
+
`node -v`でバージョンが5.2以降であると確認できる場合は、`npx`が使えるはずなので、`npx create-react-app my-app`もためしてみてください。
|
6
|
+
|
7
|
+
`npm`自体のバージョンが古い場合は`npm update -g npm`で`npm`自体をアップデートで。
|
1
a
answer
CHANGED
@@ -1,1 +1,5 @@
|
|
1
|
-
`npm install -g create-react-app`でグローバルインストールはしましたか?
|
1
|
+
`npm install -g create-react-app`でグローバルインストールはしましたか?
|
2
|
+
|
3
|
+
または、
|
4
|
+
|
5
|
+
`node -v`でバージョンが5.2以降であると確認できる場合は、`npx`が使えるはずなので、`npx create-react-app my-app`もためしてみてください。
|