Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

459
Vistas
How to create a React project using an old version of Create React App?

I am learning react from an old tutorial, so I have to create a project with the version 1.5.2 of Create React App. I have installed create-react-app@1.5.2 globally with no problems. After I executed npx create-react-app it uses the latest version of Create React App.

Is there any way that I could do it, or where can I find the code for a project with that version?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

It's no possible because of several reasons:

I installed the package "create-react-app@1.5.2" from here to assure I'm using the correct create-react-app version:

npm init -y
npm install create-react-app@1.5.2
    
or 

yarn init -y
yarn add create-react-app@1.5.2

In the \node_modules\create-react-app folder I executed the command:

node index.js app-folder

And it installed the last version of react without a template because it's an old version of the package, but still the latest version:

enter image description here

Checking the file createReactApp.js I can see it's meant to be that way, even if it's an old version of the builder "create-react-app" it will install the last version of the packages.

Also, if you try this command: node index.js app-folder --scripts-version 1.5.2

It will not found the version you want, instead, it will show a list of available versions of react-scripts.

enter image description here

According to the date, the correct packages are:

react: 16.4.2 react-dom: 16.4.2 react-scripts: 1.1.5

So you can install the version you want with this:

npm init -y
npm install react@16.4.2 react-dom@16.4.2 react-scripts@1.1.5

or

yarn init -y
yarn add react@16.4.2 react-dom@16.4.2 react-scripts@1.1.5
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda