RedditPP Mascot

RedditPP

r/youtubedl • … • u/Kapitano72

Deno Installation Problem

I'm trying to install Deno on Windows 10. The Deno site tells me to run this in PowerShell, running as Administrator:

`irm` [`https://deno.land/install.ps1`](https://deno.land/install.ps1) `| iex`

But I get the message:

>iex : Cannot invoke method. Method invocation is supported only on core types in this language mode.

>At line:1 char:37

>\+ irm [https://deno.land/install.ps1](https://deno.land/install.ps1) | iex

>\+ \~\~\~

>\+ CategoryInfo : InvalidOperation: (:) \[Invoke-Expression\], RuntimeException

>\+ FullyQualifiedErrorId : MethodInvocationNotSupportedInConstrainedLanguage,Microsoft.PowerShell.Commands.InvokeEx

> pressionCommand

I get the same using WinGet and Chocolatey. "iex" isn't available in ConstrainedLanguage Mode, but I'm guessing *is* in FullLanguage. I just can't figure out how to get into FullLanguage.

Is this right? And what should I be doing?

— 0