0

NPM Private Modules look great, but I'm not sure how to install them on an AWS Beanstalk instance.

Is there any literature published on this?

Also, on the default Node.js configuration Beanstalk uses npm version 2.7.4. Will this be a problem?

Yves M.
  • 29,855
  • 23
  • 108
  • 144
ac360
  • 7,735
  • 13
  • 52
  • 91

1 Answers1

0

Well, then add your repository (keys etc.) into the config in startup commands of elastic-beanstalk .ebextensions/00-my-tasks.config:

container_commands:
  00-my-task:
    command: echo "some config" >> /etc/config_of_npm

Idk, how exactly this works for npm, but it's possible to do that with private docker repositories. You can basically "hack" there anything, including update of some utilities if needed. I hope it helps you.

pkopac
  • 986
  • 1
  • 13
  • 21