Pass folder name in Deno through cli gives errors #21418
Unanswered
deadcoder0904
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I asked Chatgpt to write the code. I usually ask it to write in Python but it gave weird errors so I switched to Go & Rust, then finally to Deno bcz I am quite familiar with Node.
Now this code calculates how much time a certain folder would take to watch?
But I get weird errors while using Windows Terminal. I get 2 errors in fact:
1st Error
see the additional
"
at the end ofThe Complete Guide"
... that happens if I add\
todeno run
foldername. This is autocomplete by Windows Terminal.2nd Error
This time I removed the
\
bcz last time I got the same error in Python too bcz of the\
. I also haveffmpeg
installed throughwinget
.This is Windows New Terminal which is fast as hell but I do have my doubts on it sometimes.
Okay, how can I solve this?
I don't wanna put path in the source code either. Just need to pass it via terminal. Lmk if it's not a deno issue.
PS: Love deno. It feels familiar & simple with no-config TS.
Beta Was this translation helpful? Give feedback.
All reactions