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

141
Visualizações
How to deploy to Elastic Beanstalk using the CLI when you have Private NPM Packages?

We use several namespaced private packages through NPM.

When we attempt to deploy as we always have using the EB CLI (eb deploy) everything is fine until EB attempts to run npm i. This causes the deployment to fail as EB does not have access to our NPM Organization's Packages.

I found related questions from 4+ years ago with solutions that do not seem to work.

We've resorted to the workaround of manually 'zipping' the files locally and uploading it in the GUI.

How can we allow our Elastic Beanstalk Instances to deploy with our private packages via the eb deploy command?

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

The npm docs cover it well. The problem is, for some reason the environment variable, NPM_TOKEN isn't read and it fails. We fixed by hardcoding a read-only, IP whitelisted token into the .npmrc file.

over 4 years ago · Santiago Trujillo 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