Skip to content

Misspelling of link: only one / instead of two. #18830

Closed

Description

@aidanjuma

Prerequisites

Steps to reproduce

Run a script without altering permissions in Windows 11 - the following is returned (issue denoted in double asterisks):

yarn : File C:\Users\aidan\AppData\Roaming\npm\yarn.ps1 cannot be loaded because running scripts is disabled on this
system. For more information, see about_Execution_Policies at **https:/go.microsoft.com/fwlink/?LinkID=135170**.
At line:1 char:1
+ yarn
+ ~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess

Expected behavior

yarn : File C:\Users\aidan\AppData\Roaming\npm\yarn.ps1 cannot be loaded because running scripts is disabled on this
system. For more information, see about_Execution_Policies at **https://go.microsoft.com/fwlink/?LinkID=135170**.
At line:1 char:1
+ yarn
+ ~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess


### Actual behavior

```console
yarn : File C:\Users\aidan\AppData\Roaming\npm\yarn.ps1 cannot be loaded because running scripts is disabled on this
system. For more information, see about_Execution_Policies at **https:/go.microsoft.com/fwlink/?LinkID=135170**.
At line:1 char:1
+ yarn
+ ~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess


### Error details

_No response_

### Environment data

```powershell
Name                           Value
----                           -----
PSVersion                      5.1.22621.963
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22621.963
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Visuals

No response

Activity

  1. added
    Needs-Triage
    on Dec 20, 2022
  2. mklement0 commented on Dec 20, 2022

    @mklement0
    Contributor

    Good catch, but note that this has since been fixed in PowerShell Core, which is what this repo is about.

    As the issue template notes:

    • For Windows PowerShell 5.1 issues, suggestions, or feature requests please use the Feedback Hub app
      This repository is ONLY for PowerShell Core 6 and PowerShell 7+ issues.
  3. aidanjuma commented on Dec 20, 2022

    @aidanjuma
    Author

    Good catch, but note that this has since been fixed in PowerShell Core, which is what this repo is about.

    As the issue template notes:

    • For Windows PowerShell 5.1 issues, suggestions, or feature requests please use the Feedback Hub app

    This repository is ONLY for PowerShell Core 6 and PowerShell 7+ issues.

    Ah, perfect - thank you! Sorry about the unnecessary issue on this repo.

    Best,
    Aidan

  4. ghost closed this as completedon Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs-TriageResolution-Answered

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions