Updating the README with correct instructions
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 20/100
- Issue 类型
- 文档
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- aws, elixir
- 领域
- cloud, documentation
调研方向
先从 README 中关于 mix do release, bootstrap, zip 的说明开始,并将其与报告中提到的 Distillery release 命令进行比较。然后检查 bootstrap 和 Lambda 日志,尤其是尝试写入 /var/task 下的操作;当 README 提供一条经过验证、能够避免所报告失败的构建和部署路径时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Hello there,
While cloning the project and following the instructions I'm getting this error:
|> mix do release, bootstrap, zip
warning: String.strip/1 is deprecated. Use String.trim/1 instead
/Users/h/workspace/aws-lambda-elixir-runtime/examples/hello_world/deps/poison/mix.exs:4
==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
lib/poison/encoder.ex:173
Generated poison app
==> aws_lambda_elixir_runtime
Compiling 15 files (.ex)
Generated aws_lambda_elixir_runtime app
==> artificery
Compiling 10 files (.ex)
Generated artificery app
==> distillery
Compiling 33 files (.ex)
Generated distillery app
==> hello_world
Compiling 1 file (.ex)
Generated hello_world app
** (Mix) The task "release" could not be found
I managed to compile something by using the distillery release command instead (and replacing the relevant parts), however, I feel that it's not the way to go, as I got this error while hitting the lambda:
START RequestId: e8fdcb89-d349-4d36-b392-fcf95e9cd250 Version: $LATEST
++ dirname /var/task/bootstrap
+ BASE=/var/task
+ EXE=/var/task/bin/hello_world
+ HOME=/tmp
+ export HOME
+ export RELEASE_READ_ONLY=true
+ RELEASE_READ_ONLY=true
+ export LD_LIBRARY_PATH=/lib64:/usr/lib64:/var/runtime:/var/runtime/lib:/var/task:/var/task/lib:/opt/lib:/var/task/lib/elixir_runtime-0.1.0/priv
+ LD_LIBRARY_PATH=/lib64:/usr/lib64:/var/runtime:/var/runtime/lib:/var/task:/var/task/lib:/opt/lib:/var/task/lib/elixir_runtime-0.1.0/priv
+ /var/task/bin/hello_world foreground
mkdir: cannot create directory ‘/var/task/var’: Read-only file system
END RequestId: e8fdcb89-d349-4d36-b392-fcf95e9cd250
REPORT RequestId: e8fdcb89-d349-4d36-b392-fcf95e9cd250 Duration: 231.23 ms Billed Duration: 300 ms Memory Size: 128 MB Max Memory Used: 13 MB
RequestId: e8fdcb89-d349-4d36-b392-fcf95e9cd250 Error: Runtime exited with error: exit status 1
Runtime.ExitError
Please, can we get some insights on this one?
- 主要语言
- Elixir
- 星标
- 129
- 派生
- 31
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aws-samples/aws-lambda-elixir-runtime 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 30/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 30/100
aws-samples/aws-lambda-elixir-runtime#11 · 1 条评论 ·
查看 aws-samples/aws-lambda-elixir-runtime 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
-
难度 2/5 1-3 小时 新手友好度 84/100
phoenixframework/phoenix#6847 ·
-
bug
难度 2/5 1-3 小时 新手友好度 64/100
-
难度 2/5 1-3 小时 新手友好度 78/100
-
moderation
难度 2/5 1-3 小时 新手友好度 82/100
beyond-all-reason/teiserver#1584 · 1 条评论 ·