metro.url: Unsupported Option Value

metro.url: Unsupported Option Value

You’ve passed a parameter to metro.url(), that is not valid.

Valid parameters are:

  • a string, parsed as a URL
  • a URL or Location object
  • a URLSearchParams object
  • a plain object

The error message contains the exact option that was invalid.