【React】create-react-appでcommand not foundが吐き出される

$ npm install -g create-react-app

をしたにも関わらず、

$ create-react-app test2
bash: create-react-app: command not found

となってしまう。

この問題を解決するには、以下のコマンドを使用することができます。

$  npx create-react-app my-app

Happy hacking!