I am getting error using invoke command of netlify dev, reference from https://github.com/netlify/cli/blob/master/docs/netlify-dev.md#netlify-functions
When I try to list the functions via netlify functions:list, I can see their dir and url. And I can test function payload just fine through the local server with netlify dev. But the invoke command does not work for some reason.
netlify functions:invoke --name hello-world
TypeError: Cannot read property ‘dir’ of undefined
functions = “./functions”
publish = “dist”
framework = “#auto”