D
Deno

help

Permission denied (os error 13)

RRedberry6/21/2023
Please help me, I'm desparate. It doesn't print anything else.
TTestersen™6/21/2023
It says it in the error message, not deno problem. Something is wrong with your file/directory permissions of something your app uses If you're using the file system in your app make sure to use try/catch to handle that
RRedberry6/21/2023
is there a way to display more errors?
TTestersen™6/21/2023
I'd recommend checking out the file permissions for $DENO_HOME and for deno info paths And use try/catch in all io operations to handle errors gracefully Also try running app.js without sudo
RRedberry6/21/2023
$DENO_HOME is my ~ home directory
TTestersen™6/21/2023
wat
RRedberry6/21/2023
I cd'd into $DENO_HOME and it cd'd me into ~
TTestersen™6/21/2023
echo $DENO_HOME
RRedberry6/21/2023
oh it's empty 🤔 it's blank
TTestersen™6/21/2023
It should be $HOME/.deno depending on how it was installed also avoid the use of sudo when running deno — not really recommended

Looking for more? Join the community!

Recommended Posts
Is there a rich text (wysiwyg) editor for deno fresh ?I'm working on a blog, and i need a rich text editor for articles.deno_core usageAre there any repos using deno_core in their code + how would I enable the unstable features and URLError reading `allocUnsafe` using npm:icsHello there, I try to use npm:ics in my project and in some runs it works, in others it doesn't (whiUsing discord.js in Deno?Apparently Deno supports discord.js now. Awesome. But now I can't make it work. According to debug Type alias with inherited type parameter constraintsIs there any way to do this? I want SVLTN to just be a short-name alias for SomeVeryLongTypeName, anFresh: global stateIs it possible to have a global state that can be accessed from anywhere? Currently I'm passing the Run Deno on Linux without /proc mountedI have a few automatic scripts using deno to run stuff, and wanted to migrate them to another MachinReasons to choose Node.jsI've been tasked to write a list of pros/cons of Deno in comparison to Node.js. I am quite honestly Reejs not working on Deno v1.34```js deno run -A npm:reejs [INFO] Saving important data... [TIP] If the error indeno.land published the same GitHub tag twicehttps://deno.land/x/smee_client_unofficial@v1.2.3 Could someone please just delete the older one?Uncaught (in promise) eof for websocket/root/.pm2/logs/twitter-follow-checker-error.log last 15 lines: 0|twitter_ | Deno hangs on errorWhy does Deno hang when XML.parse throws an error? ``` let text = '<xml><xbrli:xbrl><hi>Hello</hi><[SOLVED] deno.lock keeps getting populated with dependencies I don't needI have tried to use a syntax highlighter before and have since removed it from my project, but everyWhat a method prefixed with `#` means?This is perhaps the stupidest question ever. But I often see method with names prefixed with a `#`Logger names and prefixesIs there any obvious way on how to configure std/log so that loggers named `my-prefix/foo/bar` and `Deno and `npm:mongodb` problem with `node:`?``` ❯ deno check --reload main.ts error: Relative import path "net" not prefixed with / or ./ or ../DiscordJS "Error: Not implemented: ClientRequest.options.createConnection"```ts import { GatewayDispatchEvents, GatewayIntentBits, InteractionType, MessageFlags, Client } froUsing Superagent in Deno?Has anyone managed to make Superagent work nicely in Deno? ``` _ { type: "error", message: "BroOak – ctx.assert with custom response headersAm I doing this wrong? No extra custom headers are being set in the response as far as I can see in npm:undici doesn't workhttps://github.com/denoland/deno/issues/16710 Marked as resolved by this issue but does not work in