Libreoffice-convert /tmp Directory Not Found


I created a node.js project with libreoffice-convert and successfully converted a docx to pdf. When I apply this to my Meteor project, I got the following error.

Error converting file: Error: ENOENT: no such file or directory, open ‘/tmp/demo/libreofficeConvert2020231-22649-1nmun9r.uc17/source.pdf’

I already set TMPDIR=/tmp/demo with permission 777. Any advice would be much appreciated. Thanks.