AWS Elastic Beanstalk部署无法正常工作 [英] AWS Elastic Beanstalk deploy not working

查看:196
本文介绍了AWS Elastic Beanstalk部署无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是AWS Eleastic Beanstalk的新手.我正在尝试通过awsebcli部署新应用程序,并且出现以下错误: 错误:OSError :: [WinError 145]目录不为空'.elasticbeanstalk \ app_versions'

I'm new to AWS Eleastic Beanstalk. I'm trying to deploy a new application through awsebcli and I'm getting the following error: "Error: OSError :: [WinError 145] The directory is not empty '.elasticbeanstalk\app_versions'

我能够初始化eb应用程序.我正在以管理员权限运行命令行.

I was able to init the eb application. I am running the command line under administrator privileges.

请帮助.

推荐答案

我遇到了同样的问题.

"eb deploy"在包含要上载到S3的zip文件的项目根目录的".elasticbeanstalk"文件夹中临时创建一个子文件夹"app_versions".完成后,该文件夹将被删除.检查您的计算机上是否有任何软件可能会阻止这种情况.

"eb deploy" temporarily creates a subfolder "app_versions" in the ".elasticbeanstalk" folder at the root of the project that contains the zip file to be uploaded to S3. Once done, the folder gets deleted. Check whether any software on your computer might be responsible for preventing this.

对我来说,原因是文件同步软件(类似于Dropbox)正在监视整个项目中的文件/文件夹更改.

The cause for me was a files-syncing software (Dropbox-like) that was watching the entire project for file/folder changes.

这篇关于AWS Elastic Beanstalk部署无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆