Skip to content

Failing to execute correct node file #538

Closed
@Gabe-Ambrosio

Description

@Gabe-Ambrosio

Description:
When this action is run on actions/setup-node@v3.4.0 it fails to execute node with:

/usr/local/bin/docker exec  825742ed8cb56497af43a3e9cad45d62a8173d83a0d7ee04089e4661011a3157 sh -c "cat /etc/*release | grep ^ID"
Attempting to download [14](https://github.com/Soluto-Private/trailhead/runs/7286847871?check_suite_focus=true#step:4:15)...
Acquiring 14.20.0 - x64 from https://github.com/actions/node-versions/releases/download/14.20.0-2633808318/node-14.20.0-linux-x64.tar.gz
Extracting ...
/bin/tar xz --strip 1 -C /__w/_temp/522c4b56-fe91-4c39-9441-4326bea08743 -f /__w/_temp/21d5041b-557e-46ea-9bd6-d39a79fcc807
Adding to the cache ...
Done
/__t/node/14.[20](https://github.com/Soluto-Private/trailhead/runs/7286847871?check_suite_focus=true#step:4:21).0/x64/bin/node --version
Error: There was an error when attempting to execute the process '/__t/node/14.20.0/x64/bin/node'. This may indicate the process failed to start. Error: spawn /__t/node/14.20.0/x64/bin/node ENOENT

Action version:
actions/setup-node@v3.4.0

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

yarn v1.22.19
node 14.20.0

Repro steps:
Adding an action with:

- name: Use Node.js 14.x
  uses: actions/setup-node@v3
  with:
    node-version: 14

Will trigger the issue.

Expected behavior:
I expect the install to succeed without any errors.

Actual behavior:
The installation fails when it tries to execute the node executable, specifically running the command:

node --version

Edit:
It also looks like this is only occurring with the docker container:

image: node:14-alpine

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

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy