Skip to content

Install npm on Windows #525

@wenkokke

Description

@wenkokke

Description:
On a windows-latest instance, I'm getting an error saying npm and npm.exe are not found.

Action version:
actions/setup-node@v3

Platform:

  • Windows

Runner type:

  • Hosted

Tools version:

Using node-version with version 16.

Repro steps:
A description with steps to reproduce the issue. If you have a public example or repo to share, please provide the link.
See .github/workflows/ci.yml, and, for example, these runs:

Expected behavior:
I expect npm.exe and npx.exe to be on the path.

Actual behavior:
For example:

npx.exe: createProcess: does not exist (No such file or directory)

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions