anmonteiro / aws-lambda-ocaml-runtime

An OCaml custom runtime for AWS Lambda and Vercel
BSD 3-Clause "New" or "Revised" License
207 stars 8 forks source link

How to resolve failed to compute cache key: "/esy.lock" not found: not found error when running build.sh #70

Open dylanirlbeck opened 1 year ago

dylanirlbeck commented 1 year ago

Hi there. I'm trying to spin up a lambda function, but when I run the build.sh file (after adapting the build.sh and Dockerfile scripts to my project -- basically just removing the examples/basic/ stuff), I get the following error:

failed to compute cache key: "/esy.lock" not found: not found

I'm happy to provide more details if needed. But is there any quick fix for this that comes to mind? Thanks so much for the work on this project.

anmonteiro commented 1 year ago

I don't necessarily recommend esy since it's seen very little development in the last few years.

That said, I'm happy to look at a repro and try to provide guidance. do you have a project link I can look at?