Hi Lisa,
Very like your post, but seems like you forget to set a callback function there for fs writer ,
I am fixing it like this
fs.writeFile("user_mood.txt", mood, () => {});
Thanks,
Tracy
Software engineer with a love for rock climbing. With a strong background in developer advocacy, I love creating tutorials & educational meetups to help developers get unstuck!
Location
Denver, Colorado
Work
Senior Developer Advocate @ Grafana | Full Stack Developer
@Dongyu LI, Tracy!!! Thank you so much for your help. I just made the change you suggested in my blog and in my GitHub repo. Sorry for the delayed response. I cannot believe I didn't see your comment till now.
Thank you so much for helping me and my readers. You are wonderful!!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Lisa,
Very like your post, but seems like you forget to set a callback function there for fs writer ,
I am fixing it like this
fs.writeFile("user_mood.txt", mood, () => {});
Thanks,
Tracy
@Dongyu LI, Tracy!!! Thank you so much for your help. I just made the change you suggested in my blog and in my GitHub repo. Sorry for the delayed response. I cannot believe I didn't see your comment till now.
Thank you so much for helping me and my readers. You are wonderful!!