1

Write file in nodejs

Hi, im trying to write a file in node js but I always get the error "read-only file system".

I tried to write to "/", "." and "/sd:" directories with no luck. Is there any writable directory?

Thank you

2 comments

  • 1
    Avatar
    par

    I was  able to find the sd card with this path: "storage/sd". Try to write to that path.

  • 0
    Avatar
    Alvaro

    Thank you, it worked perfectly!

Please sign in to leave a comment.