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

Bug: DocumentDriven navigation error #1607

Closed
Triloworld opened this issue Oct 17, 2022 · 0 comments · Fixed by #1608
Closed

Bug: DocumentDriven navigation error #1607

Triloworld opened this issue Oct 17, 2022 · 0 comments · Fixed by #1608

Comments

@Triloworld
Copy link
Contributor

Environment

Nuxt 3.0.0-rc.11
Content 2.1.1

Reproduction

  1. https://stackblitz.com/edit/github-fcxqgq?file=nuxt.config.ts
  2. Wait for script to end generating (after done - break) and run this command instead:
  3. npm install && npm run preview
  4. Check console
  5. Click /404
  6. Error same as on shared screen

Describe the bug

Zrzut ekranu 2022-10-17 o 21 09 54

Additional context

Connected with documentDriven option and 404 error page (it exist)

Logs

entry.0df56d8c.js:5 TypeError: Cannot read properties of undefined (reading 'startsWith')
    at o (entry.0df56d8c.js:7:58382)
    at Og (entry.0df56d8c.js:7:58474)
    at n (entry.0df56d8c.js:7:60010)
    at entry.0df56d8c.js:7:61922
    at async r (entry.0df56d8c.js:7:61765)
    at async entry.0df56d8c.js:7:62165
    at async entry.0df56d8c.js:7:57416
@Triloworld Triloworld changed the title Bug: DocumentDriven function Bug: DocumentDriven navigation error Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant