Updating the README with correct instructions
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 20/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- aws, elixir
- Domain
- cloud, documentation
Research direction
Start with the README instructions around mix do release, bootstrap, zip and compare them with the Distillery release command mentioned in the report. Then inspect bootstrap and the Lambda log, especially the attempt to write under /var/task; done means the README gives a verified build and deployment path that avoids the reported failures.
Written by the indexing model from the issue text.
Description
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?
- Dominant language
- Elixir
- Stars
- 129
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws-samples/aws-lambda-elixir-runtime
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
-
missing dependencies Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
aws-samples/aws-lambda-elixir-runtime#11 · 1 comment ·
All issues in aws-samples/aws-lambda-elixir-runtime
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
phoenixframework/phoenix#6847 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
moderation
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
beyond-all-reason/teiserver#1584 · 1 comment ·