Amazon AWS Elastic Beanstalk NodeJS应用程序

我在Amazon AWS Elastic Beanstalk中创build了一个NodeJS应用程序。 每次我部署应用程序,我得到以下错误(在日志中):

2016-09-06T15:56:48.332Z] INFO [17369] : Command processor returning results: {"status":"FAILURE","api_version":"1.0","results":[{"status":"FAILURE","msg":"/bin/sh: npm: command not found. \ncontainer_command 01-install-dependencies in .ebextensions/install.config failed. For more detail, check /var/log/eb-activity.log using console or EB CLI","returncode":127,"events":[]}]} 

任何想法必须造成它?

       

网上收集的解决方案 "Amazon AWS Elastic Beanstalk NodeJS应用程序"