Permission denied (os error 13)
Please help me, I'm desparate. It doesn't print anything else.
9 Replies
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
is there a way to display more errors?
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$DENO_HOME is my ~ home directory
wat
I cd'd into $DENO_HOME and it cd'd me into ~
echo $DENO_HOME
oh it's empty
🤔
it's blank
It should be
$HOME/.deno
depending on how it was installed
also avoid the use of sudo when running deno — not really recommended