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
netlify.toml
[build]
functions = “./functions”
publish = “dist”
[dev]
framework = “#auto”