diff --git a/beta/src/content/learn/add-react-to-a-website.md b/beta/src/content/learn/add-react-to-a-website.md index 4c1383fa..0f496882 100644 --- a/beta/src/content/learn/add-react-to-a-website.md +++ b/beta/src/content/learn/add-react-to-a-website.md @@ -196,7 +196,7 @@ Adding JSX to a project doesn't require complicated tools like a [bundler](/lear Go to your project folder in the terminal, and paste these two commands (**Be sure you have [Node.js](https://nodejs.org/) installed!**): 1. `npm init -y` (if it fails, [here's a fix](https://gist.github.com/gaearon/246f6380610e262f8a648e3e51cad40d)) -2. `npm install babel-cli@6 babel-preset-react-app@3` +2. `npm install @babel/cli@7 babel-preset-react-app@10` You only need npm to install the JSX preprocessor. You won't need it for anything else. Both React and the application code can stay as `