Skip to content

can't find node executable after start - ENOENT after downloading - how to resolve? #148

Closed
@jnardone

Description

@jnardone

Starting this afternoon our setup-node step has been failing

Run actions/setup-node@v1
/usr/bin/docker exec  7aabfd1f998efb12b7a971c55e82c4a0aee999758507dc23f91348da8cb83f0e sh -c "cat /etc/*release | grep ^ID"
Container distribution is alpine. Running JavaScript Action with external tool: node12_alpine
/bin/tar xz -C /__w/_temp/34df03ef-d1e8-4607-85a2-b8762e145e3c -f /__w/_temp/f657e559-8336-4e37-905a-d52c1375f98a
/__t/node/12.16.2/x64/bin/node --version
##[error]There was an error when attempting to execute the process '/__t/node/12.16.2/x64/bin/node'. This may indicate the process failed to start. Error: spawn /__t/node/12.16.2/x64/bin/node ENOENT

Not sure where to go next with this; this is early in our pipeline. Our job starts with

jobs:
  validate:
    runs-on: ubuntu-latest
    container:
      image: node:12-alpine
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v1
        with:
          node-version: '12.x'

How do I troubleshoot from here?

EDIT: debug logs

Run actions/setup-node@v1
/usr/bin/docker exec  871afccacc839257225ce1667d032e91aa2e20626955b1f20118ed1ecc6d23a1 sh -c "cat /etc/*release | grep ^ID"
##[debug]ID=alpine
Container distribution is alpine. Running JavaScript Action with external tool: node12_alpine
##[debug]isExplicit: 12.16.1
##[debug]explicit? true
##[debug]checking cache: /__t/node/12.16.1/x64
##[debug]not found
##[debug]Downloading https://nodejs.org/dist/v12.16.1/node-v12.16.1-linux-x64.tar.gz
##[debug]Destination /__w/_temp/24fb3137-41c4-4939-9f9a-18863ef9349b
##[debug]download complete
##[debug]Checking tar --version
##[debug]tar (busybox) 1.31.1
/bin/tar xz -C /__w/_temp/a7f58beb-1b23-499e-9cd2-f2a00abb8f17 -f /__w/_temp/24fb3137-41c4-4939-9f9a-18863ef9349b
##[debug]Caching tool node 12.16.1 x64
##[debug]source dir: /__w/_temp/a7f58beb-1b23-499e-9cd2-f2a00abb8f17/node-v12.16.1-linux-x64
##[debug]destination /__t/node/12.16.1/x64
##[debug]finished caching tool
::add-path::/__t/node/12.16.1/x64/bin
/__t/node/12.16.1/x64/bin/node --version
##[error]There was an error when attempting to execute the process '/__t/node/12.16.1/x64/bin/node'. This may indicate the process failed to start. Error: spawn /__t/node/12.16.1/x64/bin/node ENOENT
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Run actions/setup-node@v1

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