JuicyBenjamin
JuicyBenjamin
DDeno
Created by JuicyBenjamin on 12/9/2024 in #help
Cannot deploy properly to deno deploy
So I've just run a simple next js starter from the deno documentation and wanted to deploy it to deno deploy to see how this workflow is compared to vercel. However I'm getting permission denied and all sorts of other errors, any idea what went wrong?
PermissionDenied: 'Deno.exit' is not allowed in this context.
at Object.exit (ext:deno_deploy/os.js:69:9)
at Process.reallyExit (node:process:314:15)
at Process.exit (node:process:63:11)
at ServerImpl.<anonymous> (file:///node_modules/.deno/next@14.2.20/node_modules/next/dist/server/lib/start-server.js:276:25)
at eventLoopTick (ext:core/01_core.js:175:7) {
name: "PermissionDenied"
}
PermissionDenied: 'Deno.exit' is not allowed in this context.
at Object.exit (ext:deno_deploy/os.js:69:9)
at Process.reallyExit (node:process:314:15)
at Process.exit (node:process:63:11)
at ServerImpl.<anonymous> (file:///node_modules/.deno/next@14.2.20/node_modules/next/dist/server/lib/start-server.js:276:25)
at eventLoopTick (ext:core/01_core.js:175:7) {
name: "PermissionDenied"
}
2 replies