Key-Value-Store Issue
# crawlee-js
u
Does anyone know how to use
writeStream
to save files into key-value-store? It seems that it does work, however file do not show up when running on the Apify platform? Also, saving the files usually with `await .setValue(',,) `; Errors saying that the data
JSON.stringify()
returned undefined This is despite the data being checked before it was passed on like so:
Copy code
let data = JSON.stringify(body)

if(data){
await setValue(<key>, body , content-type.type
}
Any suggestions?
I have a question regarding using the file system on Apify while the Actor is running. When writing files, it seems that nothing is being saved. No folder or files which were written are actually there, and I am left confused. Is this normal, or am I missing something? Is the file system able to be written to and read from, or are we only supposed to use Apify API only?
2 Views