Can't access a function with netlify dev

Fixed it thanks to an older thread:

The fix is adding a dummy command to your netlify.toml:

[build]
  functions = "functions"
  command = "echo 'this is only here so that netlify deploys functions within folders'"
1 Like