- Forums
- vuejs
- Solution Vuejs Error: Uncaught (in Promise) Error: No Match For
This is the solution for a vuejs router common javascrilpt error in the console. This is how to fix it. [5248], Last Updated: Mon Jun 24, 2024
edw
Mon Dec 18, 2023
0 Comments
406 Visits
Console Error:
Uncaught (in promise) Error: No match for
{"name":"requestPassword","params":{}}
Situation: I had a router file it looked like this:
const routes = [
{
path: '/request-password',
name: 'Request Password',
component: RequestPassword
},
];
To fix it, Change it to this:
const routes = [
{
path: '/request-password',
name: 'requestPassword',
component: RequestPassword,
},
];