cvs0
cvs010mo ago

Cannot use deno prompt when in windows CMD

It only works in the VSCode integrated terminal? I have added some output around the run command, but when i do run <filename>.cvs it doesnt even reach any of the outputs.
51 Replies
cvs0
cvs010mo ago
cvs0
cvs010mo ago
heres the code. Just as a note it works perfectly fine inside the VSCode powershell integrated terminal.
PastelStoic
PastelStoic10mo ago
exactly what command are you giving it?
cvs0
cvs010mo ago
To run it im using deno run -A main.ts --developer --developer being my custom arguement. it still doesnt work without my custom arguement.
PastelStoic
PastelStoic10mo ago
and what is the error message?
cvs0
cvs010mo ago
I said earlier, there is none. Nothing happens. Oh sorry, i did not say that earlier lol can anyone help??
PastelStoic
PastelStoic10mo ago
cd up one level and see what happens same error?
cvs0
cvs010mo ago
Sorry, what do you mean? like cd up to a different dir and run the script from there?
PastelStoic
PastelStoic10mo ago
run the same command, I mean if there's no console output at all, we need to start narrowing things down is it an issue with the script and powershell in combination, or just with powershell overall? a restart may also serve you well - windows can be troublesome about these things
cvs0
cvs010mo ago
I have had this issue for a month or two. even powershell doesnt work. The only thing that works is the VSCode integrated powershell terminal.
PastelStoic
PastelStoic10mo ago
I mean not this scrpt just run "deno" in powershell no args can you enter the REPL?
cvs0
cvs010mo ago
No description
cvs0
cvs010mo ago
yep
PastelStoic
PastelStoic10mo ago
alright, wonderful and attempting to run the command from the wrong directory gives a "file not found" error, yes?
cvs0
cvs010mo ago
No description