First, junoser do not output error about this sentence.
junoser$echo "set interfaces em0 unit 0 family" | junoser -c
But I got error when I insert this sentence to Junos: 17.2R1.13
# set interfaces em0 unit 0 family
^
missing argument.
Please check this problem.
Thank you and regards.