deno-lambda icon indicating copy to clipboard operation
deno-lambda copied to clipboard

fix npm re-download

Open buwon opened this issue 2 years ago • 5 comments

Added a copy of the npm folder. #214

buwon avatar Jan 04 '23 20:01 buwon

Thanks! Is the gen/ directory no longer there?

hayd avatar Jan 06 '23 22:01 hayd

Line 238 and line 240 are the same.

buwon avatar Jan 06 '23 23:01 buwon

I tested only the change in https://github.com/hayd/deno-lambda/pull/217/commits/076fe2aa6c7e9daf2011d085d227cfb1bec46d4c and it worked for me (no longer re-downloads on first lambda execution).

Thanks for this!

pjroth avatar Jan 07 '23 03:01 pjroth

I get a permission error on deno.lock.

error: Read-only file system (os error 30)

It does not re-download, but it seems to overwrite deno.lock. I have to copy deno.lock under /tmp. I followed the README, but what is the problem?

buwon avatar Jan 12 '23 21:01 buwon

Any updates on this?

osak avatar Jun 19 '23 23:06 osak

any update on this one?

luistio avatar Feb 19 '24 04:02 luistio

Sorry. I'm not sure how deno works. This method does not seem to be a clear solution.

buwon avatar Feb 19 '24 13:02 buwon