I am getting error using invoke command of netlify dev, reference from cli/netlify-dev.md at main · netlify/cli · GitHub
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”