DenoDDeno
Powered by
JuicyBenjaminJ
Denoβ€’16mo agoβ€’
1 reply
JuicyBenjamin

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"
}
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Failed deployment Deno Deploy
ssimonlpSssimonlp / help
16mo ago
Deno deploy
TallesTTalles / help
7mo ago
Deno Deploy
PijusPPijus / help
3y ago
Deno v2 RC not deploying properly?
adawgAadawg / help
2y ago