Tup error:attempt to call a nil value

I am having trouble when executing’’ make ''command in VS code worksapce ,which is shown below:

Executing task in folder Firmware: make <

  1. updated variant: tup.config
    tup error [string “Tupfile.lua”]:5: attempt to call a nil value (field ‘config’)
    stack traceback:
    [string “Tupfile.lua”]:5: in main chunk
    [ ETA~=<1s Remaining=51 ] 1%
    *** tup: 1 job failed.
    Makefile:14: recipe for target ‘all’ failed
    make: *** [all] Error 1
    The terminal process terminated with exit code: 1

can anyone kind dude can offer me a help…