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

🐛 /docs data fetching not handled gracefully #2731

Open
2 tasks
joshbermanssw opened this issue Jan 14, 2025 · 2 comments
Open
2 tasks

🐛 /docs data fetching not handled gracefully #2731

joshbermanssw opened this issue Jan 14, 2025 · 2 comments
Assignees

Comments

@joshbermanssw
Copy link
Member

cc: @isaaclombardssw

When searching a docs page that doesnt exist (i.e https://tina.io/docs/9 we are prompted with a 500 internal error page rather than the expected 404 not found tina page

Tasks

  • Investigate
  • Fix
@joshbermanssw
Copy link
Member Author

Update - we didnt resolve this in the Blogs to App Router and are having this issue with /blogs/ too

@joshbermanssw
Copy link
Member Author

Logs of errors from Vercel -

TypeError: Cannot read properties of undefined (reading 'clientModules')
at /var/task/node_modules/.pnpm/next@14.2.18_@babel[email protected][email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:16:24227
at /var/task/node_modules/.pnpm/next@14.2.18_@babel[email protected][email protected][email protected][email protected][email protected]/node_modules/next/dist/server/lib/trace/tracer.js:191:62
at /var/task/node_modules/.pnpm/next@14.2.18_@babel[email protected][email protected][email protected][email protected][email protected]/node_modules/next/dist/server/lib/trace/tracer.js:140:36
at NoopContextManager.with (/var/task/node_modules/.pnpm/next@14.2.18_@babel[email protected][email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:7124)
at ContextAPI.with (/var/task/node_modules/.pnpm/next@14.2.18_@babel[email protected][email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:580)
at NoopTracer.startActiveSpan (/var/task/node_modules/.pnpm/next@14.2.18_@babel[email protected][email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:18155)
at ProxyTracer.startActiveSpan (/var/task/node_modules/.pnpm/next@14.2.18_@babel[email protected][email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:18916)
at /var/task/node_modules/.pnpm/next@14.2.18_@babel[email protected][email protected][email protected][email protected][email protected]/node_modules/next/dist/server/lib/trace/tracer.js:122:103
at NoopContextManager.with (/var/task/node_modules/.pnpm/next@14.2.18_@babel[email protected][email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:7124)
at ContextAPI.with (/var/task/node_modules/.pnpm/next@14.2.18_@babel[email protected][email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:580) {
page: '/docs/tinacms-context'
}
⨯ Error: Cannot find module 'next/dist/server/future/route-modules/pages/vendored/contexts/amp-context'
Require stack:

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

No branches or pull requests

2 participants