Error Installing Deno using PowerShell

Hello, may I please ask for assistance in regards to installing Deno using PowerShell on VS Code. An error occurs when inputting this command: irm https://deno.land/install.ps1 | iex Thank you kindly.
No description
DAH
Deno AI Helper42d ago
Hello! I'm sorry to hear you're encountering issues while installing Deno using PowerShell. Let's try to troubleshoot this together. 🦕 First, ensure that your PowerShell is running with sufficient privileges to install software. You might need to run PowerShell as an Administrator. To do this, search for PowerShell in the Start menu, right-click on it, and select "Run as Administrator". Once you have an elevated PowerShell prompt, try running the installation command again:
irm https://deno.land/install.ps1 | iex
irm https://deno.land/install.ps1 | iex
If you're still facing an error, it would be helpful to know the exact error message you're receiving. This can provide clues as to what might be going wrong. Additionally, make sure that your execution policy allows running scripts. You can check your current execution policy with the following command:
Get-ExecutionPolicy
Get-ExecutionPolicy
If it's set to Restricted, you might need to change it to allow the script to run. You can do this by executing:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
This command will allow you to run scripts that you've written or downloaded after confirming that they are safe. Please try these steps and let me know how it goes. If the problem persists, sharing the exact error message will be very helpful for further troubleshooting.
Ενα🍡42d ago
Thank you. The error still occurs. Here is the error message: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate. tar.exe: Error opening archive: Failed to open 'C:\Users\evant.deno\bin\deno.zip' Remove-Item : Cannot find path 'C:\Users\evant.deno\bin\deno.zip' because it does not exist. At line:39 char:1 + Remove-Item $DenoZip + ~~~~ + CategoryInfo : ObjectNotFound: (C:\Users\evant.deno\bin\deno.zip:String) [Remove-Item], ItemNotFoundEx ception + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
L
Leokuma41d ago
Please download Deno manually from here: https://github.com/denoland/deno/releases/tag/v1.41.2
Ενα🍡41d ago
Thank you kindly, appreciate it. Sorry which one am I supposed to download for Windows?
N
NDH40d ago
I'd use : deno-x86_64-pc-windows-msvc.zip
Ενα🍡40d ago
Perfect, thank you!
More Posts
Svelte/SvelteKit support in 2024What’s your experience?Subprocesscan someone help me how do i get to show Hello world in my terminal by using Deno.Commands () using Problems using @apple/app-store-server-library, how do I debug?Hi, I'm attempting to build out the backend of an IOS app on Supabase and want to be able to verifyIs there an easy way to read tls certificate and key from a filesystem?I do the following: ```js if (Deno.env.has("TLS_CERT_PATH") && Deno.env.has("TLS_PKEY_PATH")) { coPartials in a redirect ???Does anyone have any idea how i can redirect after login to a route with initialised partial: ExamHow to troubleshoot runaway (100% CPU) deno processDeno has been running a couple of websites rock solid for many months. But during last week or so I'Import SCSS in TS filesHey, I am currently building a template for web development and I want to use ESBuild as a bundler. How to modify HTTP cache folderHello, I'm using Astro framework with Deno and Directus, but after a while of the website running onDeno deployment can't connect to the Mongo Cloud, due to the Mongo Cloud Network Access Rules.Is there a way to add the Deno Deploy IP to Mongo Cloud? The Deno Depoy Regions only region names fIs there a way to pull a module from x in favour of jsr?I have ported my module `@vicary/fresh-graphql` to JSR and I would like to redirect my users go JSR In-Source Testing with deno test?Can I do something like [vitest's In-Source Testing](https://vitest.dev/guide/in-source.html) with `How to use vendoring with node_modulesAs trying to recreate a `DENO_DIR` via `deno cache` creates different results on different machines,Make an image cropper that crops from data uriHow to make an image cropper that crops to the given dimensionsBest practice for releasing a deno package on GitHubIs there a best practice for the release process of a Deno library on GitHub? I use semantic-releasedeno oak : howto force reply immediatly, and process the request later ?Bonjour, My server needs to reply an ACK (200 OK) for each request. If it did not, the client dies. Rust: Unable to bootstrap MainWorkerMy message was too long, moved it to a GitHub discussion: https://github.com/denoland/deno/discussioTailwindCSS: Class-Strings build with variablesSince TailwindCSS does not support classes with variables (like I used before with twind), how wouldImport path autocomplete doesn't workHi 👋 It behaves like it's just a string and not an import path. I have the latest version of Deno a