Open conan opened 5 years ago
OK, just noticed that cheshire is mentioned in the output and therefore figured out that cljs-lambda requires aws configure
to have the output set to json
rather than text
.
I've sent a PR to mention this in the docs.
https://github.com/nervous-systems/cljs-lambda/blob/master/plugin/src/leiningen/cljs_lambda/aws.clj#L143 should rather do(->cli-args {:name name :output "json"})
The second time I run
lein cljs-lambda deploy
I always get this error:The unexpected character in question is always the first character of the output from the previous
aws lambda get-function-configuration
command:I've tried running the
aws configure
command as suggested in #99, and have tried re-installing it too, but it didn't help. Here's the full stack trace. At the moment I have to delete the function in Lambda beforelein cljs-lambda deploy
will work again, which isn't an ideal workflow. Any ideas?