3

I have issues on elastic beanstalk because of some peer dependencies. In EB logs, I can see npm install --production is failing.

How can I customize EB platform to either let me run install by myself (i was able to do this with Procfile on node 14 platform) or pass flags such as --force to the command.

I am on the latest node 16 platform (using npm 8)

boy
  • 405
  • 4
  • 12

1 Answers1

3

Easy way for me was to add npm_config_force=true to Software environment variables in EB.

boy
  • 405
  • 4
  • 12