While my app is working correctly locally, and there is any error during the deployment process, when I’m trying to visit my app, I got this error:
Dec 8, 07:06:38 PM: 38dafe6b ERROR TypeError: Cannot read properties of undefined (reading 'getRouter')
at getRouter2 (file:///var/task/apps/grid/.netlify/v1/functions/server.mjs:16356:58)
at async handleServerRoutes (file:///var/task/apps/grid/.netlify/v1/functions/server.mjs:16530:19)
at async file:///var/task/apps/grid/.netlify/v1/functions/server.mjs:16442:35 {
cause: TypeError: Cannot read properties of undefined (reading 'getRouter')
at getRouter2 (file:///var/task/apps/grid/.netlify/v1/functions/server.mjs:16356:58)
at async handleServerRoutes (file:///var/task/apps/grid/.netlify/v1/functions/server.mjs:16530:19)
at async file:///var/task/apps/grid/.netlify/v1/functions/server.mjs:16442:35,
status: 500,
statusText: undefined,
headers: undefined,
data: undefined,
body: undefined,
unhandled: true
}
Also one other error that I saw searching at the logs
Error: Dynamic require of "node-web-audio-api" is not supported
This is the project: blibliki/apps/grid at main · mikezaby/blibliki · GitHub
This is my app in netlify: https://blibliki-staging.netlify.app/