You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 22, 2022. It is now read-only.
I am trying to do the simple example on the blog post on windows. When running "servless deploy" I got an error:
Error --------------------------------------------------
Command failed: lein update-in :cljs-lambda assoc :functions '[{:name "lambda-cljs-example-dev-echo" :invoke lambda-cljs-example.core/echo}]' -- cljs-lambda build :output C:\Users\bcorliss\Documents\Projects\lambda-cljs-example/.serverless/lambda-cljs-example.zip :quiet
When running this line separately I got the following stack trace (relevant portion here):
PS C:\Users\bcorliss\Documents\Projects\lambda-cljs-example> lein update-in :cljs-lambda assoc :functions '[{:name "lambda-cljs-example-dev-echo" :invoke lambda-cljs-example.core/echo}]' -- cljs-lambda build :output C:\Users\bcorliss\Documents\Projects\lambda-cljs-example/.serverless/lambda-cljs-example.zip :quiet up to date in 0.128s java.lang.UnsupportedOperationException: null at sun.nio.fs.WindowsFileSystemProvider.readAttributes (WindowsFileSystemProvider.java:192) java.nio.file.Files.readAttributes (Files.java:1737) java.nio.file.Files.getPosixFilePermissions (Files.java:2004) leiningen.cljs_lambda.zip_tedium$get_posix_mode.invokeStatic (zip_tedium.clj:16) leiningen.cljs_lambda.zip_tedium$get_posix_mode.invoke (zip_tedium.clj:14) leiningen.cljs_lambda.zip_tedium$zip_entry.invokeStatic (zip_tedium.clj:34) leiningen.cljs_lambda.zip_tedium$zip_entry.doInvoke (zip_tedium.clj:28) clojure.lang.RestFn.invoke (RestFn.java:442) leiningen.cljs_lambda.zip_tedium$eval1160$fn__1163.invoke (zip_tedium.clj:65) clojure.lang.MultiFn.invoke (MultiFn.java:238) leiningen.cljs_lambda.zip_tedium$write_zip$fn__1180.invoke (zip_tedium.clj:86) leiningen.cljs_lambda.zip_tedium$write_zip.invokeStatic (zip_tedium.clj:85) leiningen.cljs_lambda.zip_tedium$write_zip.invoke (zip_tedium.clj:76) leiningen.cljs_lambda$build.invokeStatic (cljs_lambda.clj:163) leiningen.cljs_lambda$build.invoke (cljs_lambda.clj:143) leiningen.cljs_lambda$cljs_lambda.invokeStatic (cljs_lambda.cl
I'm guessing this is because windows does not have posix mode?
The text was updated successfully, but these errors were encountered: