You are not logged in.
I'm trying to run the get started example (https://github.com/nervous-systems/cljs … et-started) for cljs-lambda but I get the following issues:
Writing zip to /home/jlawson/public/thelema/out/thelema.zip
Registering handler index.thelema_core_work_magic for function work-magic
aws lambda get-function --function-name work-magic
aws lambda create-function --function-name work-magic --zip-file fileb:///home/jlawson/public/thelema/out/thelema.zip --runtime nodejs --handler index.thelema_core_work_magic --role FIXME
Error parsing parameter '--zip-file': Unable to load paramfile fileb:///home/jlawson/public/thelema/out/thelema.zip: [Errno 2] No such file or directory: '/home/jlawson/public/thelema/out/thelema.zip'Basically the zip file doesn't seem to create. I've tried JDK8 and OpenJDK8 both with no success. I haven't found much anything else like this so I figured I would ask. I created an issue here: https://github.com/nervous-systems/cljs-lambda/issues/1
To replicate you need Leiningen, AWSCLI and Node installed and then run:
$ lein new cljs-lambda my-lambda-project
$ cd my-lambda-project
$ lein cljs-lambda default-iam-role
$ lein cljs-lambda deploy
$ lein cljs-lambda invoke work-magic '{"variety": "black"}'I get the problem on the "lein cljs-lambda deploy" part.
It is very strange because it works fine on my Mac.
Offline
The developer had this to say,
File.renameTo was working differently - i.e. not working - I don't know the root cause of the problem (either /tmp is a different filesystem, or there's some OpenJDK detail I don't know about)
I'm not really sure what the problem is either. He worked around it but this is still perplexing.
Offline