Updating the README with correct instructions
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- aws, elixir
- Lĩnh vực
- cloud, documentation
Hướng nghiên cứu
Bắt đầu với các hướng dẫn trong README về mix do release, bootstrap, zip và so sánh chúng với lệnh release của Distillery được đề cập trong báo cáo. Sau đó kiểm tra bootstrap và log của Lambda, đặc biệt là lần thử ghi vào bên dưới /var/task; công việc được xem là hoàn tất khi README cung cấp một quy trình build và deployment đã được xác minh, tránh được các lỗi đã báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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?
- Ngôn ngữ chính
- Elixir
- Star
- 129
- Fork
- 31
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aws-samples/aws-lambda-elixir-runtime
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
-
missing dependencies Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
cannot execute binary file Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
aws-samples/aws-lambda-elixir-runtime#11 · 1 bình luận ·
Tất cả issue của aws-samples/aws-lambda-elixir-runtime
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
agentjido/jido_harness#80 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
sevenseacat/cinder#235 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
phoenixframework/phoenix#6847 ·