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

Erreur 500 sur la preview de la fiche MNA #40

Open
mathieutu opened this issue Jun 7, 2023 · 0 comments
Open

Erreur 500 sur la preview de la fiche MNA #40

mathieutu opened this issue Jun 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@mathieutu
Copy link
Owner

mathieutu commented Jun 7, 2023

En mode preview:
https://www.resap.fr/fiches/social/les-mineurs-non-accompagnes

TypeError: Cannot read properties of undefined (reading 'match')
    at formatStructure (/var/task/.next/server/chunks/40.js:130:40)
    at Array.map (<anonymous>)
    at findAFiche (/var/task/.next/server/chunks/40.js:189:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async getStaticProps (/var/task/.next/server/pages/fiches/[categorie]/[slug].js:164:19)
    at async Object.renderToHTML (/var/task/node_modules/next/dist/server/render.js:368:20)
    at async doRender (/var/task/node_modules/next/dist/server/base-server.js:908:38)
    at async cacheEntry.responseCache.get.isManualRevalidate.isManualRevalidate (/var/task/node_modules/next/dist/server/base-server.js:1013:28)
    at async /var/task/node_modules/next/dist/server/response-cache.js:69:36 {
  page: '/fiches/[categorie]/[slug]'
}
RequestId: 8e829ac7-698b-4a68-812f-ab8dc23bbdf9 Error: Runtime exited with error: exit status 1
Runtime.ExitError

Mais pas de pb au déploiement 🤔

@mathieutu mathieutu added the bug Something isn't working label Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant