返回非零退出状态-9

时间:2022-10-20 11:40:56

I am deploying code on elastic beanstalk and it gives me this error. I was using nginx proxy and elastic load balancer I disabled both and then try to deploy code this give me following error. I am unable to find any solution

我正在弹性beanstalk上部署代码,它给了我这个错误。我正在使用nginx代理和弹性负载均衡器我禁用了两个,然后尝试部署代码,这给我以下错误。我无法找到任何解决方案

npm WARN deprecated node-uuid@1.4.7: use uuid module instead Not using a reverse proxy Running npm install: /opt/elasticbeanstalk/node-install/node-v6.9.1-linux-x64/bin/npm
Setting npm config jobs to 1 npm config jobs set to 1 Running npm with --production flag Failed to run npm install. Snapshot logs for more details. UTC 2017/01/03 11:47:22 cannot find application npm debug log at /tmp/deployment/application/npm-debug.log Traceback (most recent call last): File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 695, in main() File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 677, in main node_version_manager.run_npm_install(options.app_path) File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 136, in run_npm_install self.npm_install(bin_path, self.config_manager.get_container_config('app_staging_dir')) File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 180, in npm_install raise e subprocess.CalledProcessError: Command '['/opt/elasticbeanstalk/node-install/node-v6.9.1-linux-x64/bin/npm', '--production', 'install']' returned non-zero exit status -9 (Executor::NonZeroExitStatus)

npm WARN弃用node-uuid@1.4.7:使用uuid模块而不使用反向代理运行npm install:/opt/elasticbeanstalk/node-install/node-v6.9.1-linux-x64/bin/npm设置npm config作业到1 npm配置作业设置为1运行npm with --production flag无法运行npm install。快照日志以获取更多详细信息。 UTC 2017/01/03 11:47:22无法找到应用程序npm调试日志/tmp/deployment/application/npm-debug.log Traceback(最近一次调用最后一次):文件“/opt/elasticbeanstalk/containerfiles/ebnode.py “,第695行,在main()文件”/opt/elasticbeanstalk/containerfiles/ebnode.py“,第677行,主node_version_manager.run_npm_install(options.app_path)文件”/opt/elasticbeanstalk/containerfiles/ebnode.py“,第136行,在run_npm_install中self.npm_install(bin_path,self.config_manager.get_container_config('app_staging_dir'))文件“/opt/elasticbeanstalk/containerfiles/ebnode.py”,第180行,在npm_install中提升e subprocess.CalledProcessError:Command'[ '/opt/elasticbeanstalk/node-install/node-v6.9.1-linux-x64/bin/npm',' - production','install']'返回非零退出状态-9(Executor :: NonZeroExitStatus)

1 个解决方案

#1


3  

A "return code" of -9 indicates that the process was killed with SIGKILL. If you aren't doing that yourself, the OOM killer is a likely culprit.

返回代码为-9表示该进程已被SIGKILL杀死。如果你不是自己这样做,OOM杀手可能是罪魁祸首。

#1


3  

A "return code" of -9 indicates that the process was killed with SIGKILL. If you aren't doing that yourself, the OOM killer is a likely culprit.

返回代码为-9表示该进程已被SIGKILL杀死。如果你不是自己这样做,OOM杀手可能是罪魁祸首。