When trying to render nextjs website locally by using npm run dev the following error message will display:
Error parsing `/wildcard/*/` https://nextjs.org/docs/messages/invalid-route-source
Reason: Unexpected MODIFIER at 10, expected END
/wildcard/*/
^
`source` parse failed for route {"source":"/wildcard/*/","destination":"/test/$1/","permanent":true}
Error: Invalid redirect found
Instance wildcard redirect is set up as follows:
