banananas
banananas2mo ago

Can't install Deno on Windows

I'm trying to install deno using PowerShell using the command provided in the Deno installation guide (irm https://deno.land/install.ps1 | iex). However, when I run this command, I get the following error:
Remove-Item : Cannot find path 'C:\Users\piotr\.deno\bin\deno.zip' because it does not exist.
At line:39 char:1
+ Remove-Item $DenoZip
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\piotr\.deno\bin\deno.zip:String) [Remove-Item], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot find path 'C:\Users\piotr\.deno\bin\deno.zip' because it does not exist.
At line:39 char:1
+ Remove-Item $DenoZip
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\piotr\.deno\bin\deno.zip:String) [Remove-Item], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
Can someone help me as to why this happens?
1 Reply
banananas
banananas2mo ago
Nvm, doing some research led me to the conclusion that my antivirus was stopping me installing