Skip to content

error running Node.js v20.3.0 on Windows Server 2008 R2 Enterprise #51465

Closed as not planned
@gweesin

Description

@gweesin

Version

v20.3.0

Platform

Microsoft Windows NT 6.1.7601 Service Pack 1

Subsystem

No response

What steps will reproduce the bug?

use node -v on Windows Server 2008 R2 Enterprise cmd.

I try to use pnpm use-node-version function to set Node.js version

the scripts of package.json:

"scripts": {
  "a": "node -v"
}

The result of my test is this:

image

If the version number is less than 20.3.0, it won't throw an error.

How often does it reproduce? Is there a required condition?

Always

What is the expected behavior? Why is that the expected behavior?

Expect the command node -v to produce the output correctly.

What do you see instead?

> node -v

ELIFECYCLE  Command failed with exit code 3221225785

Additional information

No response

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