Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

140
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!