Skip to content

Install node.js v22.12.0 failed use powershell with unknown problem. #7363

@djx314

Description

@djx314

System: Windows x64
Use the command in nodejs.org to install node.js v22.12.0, and call unknown exception in powershell.

Image

Windows PowerShell
版权所有(C) Microsoft Corporation。保留所有权利。

安装最新的 PowerShell,了解新功能和改进!https://aka.ms/PSWindows

PS D:\f\tools>
PS D:\f\tools>
PS D:\f\tools> # installs fnm (Fast Node Manager)
PS D:\f\tools> curl -fsSL https://fnm.vercel.app/install | bash
bash : 无法将bash项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确
,然后再试一次。
所在位置 行:1 字符: 45
+ curl -fsSL https://fnm.vercel.app/install | bash
+                                             ~~~~
    + CategoryInfo          : ObjectNotFound: (bash:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS D:\f\tools>
PS D:\f\tools>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions