Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Versionised Docs Template #26

Open
nitiksh opened this issue Dec 24, 2024 · 1 comment
Open

Error in Versionised Docs Template #26

nitiksh opened this issue Dec 24, 2024 · 1 comment
Assignees
Labels
branch-versioning Label for branch versioning

Comments

@nitiksh
Copy link

nitiksh commented Dec 24, 2024

There is a error in you Versionised docs template as - TypeError: Cannot read properties of undefined (reading 'map')

error is in this file - lib\routes-config.ts (219:17) @ map

  217 | export function getRoutesFlatten(v: Version) {
  218 |   const routes = getRoutesForVersion(v);
> 219 |   return routes.map((it) => getRecurrsiveAllLinks(it)).flat();
      |                 ^
  220 | }
  221 |
  222 | export function getRoutesForVersion(v: Version) {

You have to Check that part as there is a problem in the versioning section,

Here is the Image of error.

image

I have created a fresh project and i have not chnaged a single word, And showing error

@nisabmohd nisabmohd added the branch-versioning Label for branch versioning label Dec 24, 2024
@nisabmohd nisabmohd self-assigned this Dec 24, 2024
@nisabmohd
Copy link
Owner

Sure @nitiksh I will look into the issue, thank you for raising an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-versioning Label for branch versioning
Projects
None yet
Development

No branches or pull requests

2 participants