Closed AndrazPustotnik closed 10 months ago
Expected to remove the reference to storage in V1.0.4, and the latest submission in the warehouse is ready for use. You can copy the four files in dist to the node of your project_ Select Overwrite in the "node_modules/ewelink-api-next/dist" directory and then you can use it.
For the time being I created a fork and replaced cache
with /tmp
like const localStorage = new LocalStorage("/tmp");
and it works. So if I understood correct after update there will be no writing into the cache
so I will have no longer an issue with the storage?
For the time being I created a fork and replaced
cache
with/tmp
likeconst localStorage = new LocalStorage("/tmp");
and it works. So if I understood correct after update there will be no writing into thecache
so I will have no longer an issue with the storage?
Well, you can also do this
I am getting
ENOENT: no such file or directory, mkdir '/var/task/cache'
response when trying to import ewelink-api-next into the aws lambda. It appears thatnode-localstorage
is trying to write into read-only directory. Is it possible to navigate that into the/tmp
which might fix the issue?Full error: