Nmap error LUA YIELD

Afternoon all…

I am setting up a Pi3B with Kali and when I run the command:
sudo nmap --script discovery -oX report.xml && xsltproc report.xml -o “date +%m%d%y_test_house_report.html”

I get the following error at the very end:
nmap: nse_nsock.cc:369: void callback(nsock_pool, nsock_event, void*): Assertion `lua_status(L) == LUA_YIELD’ failed. Aborted

I am a new user of nmap and looking for any info.