You are running `create-react-app` 5.0.0, which is behind the latest release (5.0.1)

今日想起個新既reactjs project 時出現了這個error message

$ npx create-react-app .

You are running `create-react-app` 5.0.0, which is behind the latest release (5.0.1).

We no longer support global installation of Create React App.

Please remove any global installs with one of the following commands:
- npm uninstall -g create-react-app
- yarn global remove create-react-app

The latest instructions for creating a new app can be found here:
https://create-react-app.dev/docs/getting-started/

解決方法:

npx react-native init [project name]

hope you find it useful

Chi Yau
Chi Yau
Software Engineer

Interested on Learning new stuff and experience sharing