{"version":"1.0","type":"rich","title":"Debugging \"Failed to run npm install. Snapshot logs for more details.\" on Elastic Beanstalk","description":"This example walks through debugging an npm install failure on Elastic Beanstalk, showing two common root causes: a dependency using caret version syntax requiring Node ≥0.10.26 (beyond the platform’s 0.10.21) and the SELF_SIGNED_CERT_IN_CHAIN error from npm’s stricter certificate validation. The code demonstrates shell commands like `ebnode.py --action npm-install` to surface the full error, and a `.ebextensions` config file that runs a command to set `npm config set ca \"\"` as a temporary workaround. The solution relies on manual version pinning and configuration overrides rather than a visual chart.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-38817807e19c9b2dcd45f6f419316d63?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}