Updating the README with correct instructions
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 20/100
- Tipo di issue
- Documentazione
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- aws, elixir
- Ambito
- cloud, documentation
Direzione di ricerca
Inizia con le istruzioni del README relative a mix do release, bootstrap, zip e confrontale con il comando di release di Distillery menzionato nel report. Poi esamina bootstrap e il log di Lambda, in particolare il tentativo di scrivere sotto /var/task; il lavoro è completato quando il README fornisce un percorso verificato di build e deployment che evita i fallimenti segnalati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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?
- Lingua principale
- Elixir
- Stelle
- 129
- Fork
- 31
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aws-samples/aws-lambda-elixir-runtime
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
-
missing dependencies Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
cannot execute binary file Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
aws-samples/aws-lambda-elixir-runtime#11 · 1 commento ·
Tutte le issue di aws-samples/aws-lambda-elixir-runtime
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
phoenixframework/phoenix#6847 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
moderation
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
beyond-all-reason/teiserver#1584 · 1 commento ·