esp8266 cant run arduino AT commands with Lua

If you have the esp8266(wifi module) programmed with Lua (nodemcu) then a Arduino software trying to send it AT commands , it returns errors .

Cant you use AT commands with Lua ?

Not as far as I know. It's or the normal firmware for AT commands or Lua. You can try to make a lua program for the AT commands but yeay :p

That's a bit like asking how you run Windows 10 under Linux Mint.