thanks for the tutorial! I'm about 20 mins in. (just set up the posts router) and am getting this error now:
error - Error [TypeError]: Class extends value undefined is not a constructor or null
at ../../node_modules/.pnpm/undici@5.11.0/node_modules/undici/lib/fetch/file.js (evalmachine.<anonymous>:5724:19)
at __require (evalmachine.<anonymous>:14:50)
at ../../node_modules/.pnpm/undici@5.11.0/node_modules/undici/lib/fetch/formdata.js (evalmachine.<anonymous>:5881:49)
at __require (evalmachine.<anonymous>:14:50)
at ../../node_modules/.pnpm/undici@5.11.0/node_modules/undici/lib/fetch/body.js (evalmachine.<anonymous>:6094:35)
at __require (evalmachine.<anonymous>:14:50)
at ../../node_modules/.pnpm/undici@5.11.0/node_modules/undici/lib/fetch/response.js (evalmachine.<anonymous>:6510:49)
at __require (evalmachine.<anonymous>:14:50)
at <unknown> (evalmachine.<anonymous>:11635:30)
at requireFn (file:///Users/jaredd/Desktop/repos/twitterclone/node_modules/next/dist/compiled/edge-runtime/index.js:1:7079) {
middleware: true
}
after inspecting network, i see i am getting 500 on posts.getAll:
thanks for the tutorial! I'm about 20 mins in. (just set up the posts router) and am getting this error now:
after inspecting network, i see i am getting 500 on posts.getAll: