You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: [route-node][buildPath] '{routeName}' is not defined
at RouteNode.buildPath (/Users/me/dev/foo/node_modules/route-node/src/RouteNode.ts:203:13)
at Object.router.buildPath (/Users/me/dev/foo/node_modules/router5/dist/index.js:138:36)
at BaseLink.Object.<anonymous>.BaseLink.buildUrl (/Users/me/dev/foo/node_modules/react-router5/dist/index.js:123:28)
at BaseLink.Object.<anonymous>.BaseLink.render (/Users/me/dev/foo/node_modules/react-router5/dist/index.js:156:25)
The text was updated successfully, but these errors were encountered:
I had this same problem and it took me a while to get to the bottom of it because I thought the problem was with my route definition as well, but was happened for me was one of my routes was rendering a component that contained a <Link> component, and the <Link> had an invalid routeName parameter set (I had a route called "analysis.videos" but the <Link> routeName was going to "analysis.video"). Previous versions didn't seem to throw an exception but v8 does.
Getting
Error: [route-node][buildPath] '{routeName}' is not defined
on upgrade to 8.0.0, even though my router looks like this:What do I need to do to fix?
The text was updated successfully, but these errors were encountered: