Charlie
Charlie2mo ago

Nextjs 15 with prisma/sqlite failing at eventLoopTick

I get the following errors with deno but runs fine in npm. ( deno task dev ) ⨯ Error: Attempt to export a nullable value for "File" at eventLoopTick (ext:core/01_core.js:175:7) { name: "Error" } Note: This project is a little grown up private project, i'm finding a way to reproduce the issue. I just want to know what works in deno and what dont to filter out the underlying issue
No description
7 Replies
Charlie
CharlieOP2mo ago
The error in the image happens when run deno task build
Charlie
CharlieOP2mo ago
I tried to comment out all the functions/files that is shown in the runtime error the error might be related to ( how deno handles ) dynamic route segments of nextjs
No description
Polaris
Polaris2mo ago
Did you find a way to fix this? Facing the same issue
toni
toni2mo ago
can you share steps for reproducing the error? Better if you can push it to git
Charlie
CharlieOP2mo ago
hi toni I suspect the error occurs in the official template also it works locally, but when you upload to deno-deploy, the default not found page hits with an module.findSourceMap is not a function https://github.com/denoland/deploy_feedback/issues/680 - the behavior is similar to this issue
GitHub
[Bug]: Does not function on Deno Deploy but functions when running ...
Problem description Here is the repo that is resulting in a different behavior when I run locally vs when ran in deno cloud. My Github Project: Zap Steps to reproduce Local STR clone deno task dev ...
Charlie
CharlieOP2mo ago
try this for now, meanwhile i try to create a better repro of this issue
toni
toni2mo ago
which deno version? Is it latest version 2.1.4?

Did you find this page helpful?