LoginSignup
2
3

More than 5 years have passed since last update.

create-react-app が使えないとき

Last updated at Posted at 2018-08-10

最初に結論

$ npm config set prefix /usr/local
$ npm install -g create-react-app
$ create-react-app my-app

これで解消した!

最近npmのバージョンが上がらなくなり、、、インストールしても上がらなくなり。。。

とんでもないことが起きてしまったと思い!

心機一転、完全リスタートをするため一度nodeをすべてアンインストールしてnpmを入れ直してみたため、これまで使えていた create-react-app が使えなくなっているではないか!

ということに気づいた先ほど。。。

そのため上で触れている方法で直した。

以上

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