Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

254
Visualizações
How to change "arm64-apple-darwin20.0.0" to "localhost" in reactjs

I need Help with npm start.

four months ago I have a react app that worked fine and the local server was "localhost". I don’t know what happened with my app localhost became arm64-apple-darwin20.0.0, but now when I launch this app I get this:

Compiled successfully!

You can now view kok-app in the browser.

  http://arm64-apple-darwin20.0.0:3000

Note that the development build is not optimized.
To create a production build, use npm run build.
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Can you clarify what tool you used to create the app?

The following answer relates just to the change of the port. If it's the entire endpoint, I'm afraid I'll need more information (also, what would be the expected output - Is it localhost?).

If you used the toolchain/environment called create-react-app, then you can create a file called .env in the project root and then put this line in there (amongst possible other env-vars):

PORT=4000

And change the port to the one you want to use. Then deploy the development server again.

Note, according to the documentation:

Note: this feature is available with react-scripts@0.5.0 and higher.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda