question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Downloading from nodejs.org failing

See original GitHub issue

I’m not sure this is the best repo to report the issue, if it’s the wrong place please close this 😃

We’ve been using Github Actions successfully for a few days but starting today all our builds have started to fail at the setup-node step with this error:


4m 57s
##[error]Node run failed with exit code 1
Run actions/setup-node@v1
  with:
    node-version: 12.x
    always-auth: false
/bin/tar xzC /home/runner/work/_temp/83341e1a-c86d-4ddb-9963-ef01607f6e1e -f /home/runner/work/_temp/58fc8365-fe95-474e-ad3c-c5511594abdd

gzip: stdin: unexpected end of file
/bin/tar: Unexpected EOF in archive
/bin/tar: Unexpected EOF in archive
/bin/tar: Error is not recoverable: exiting now
##[error]The process '/bin/tar' failed with exit code 2
##[error]Node run failed with exit code 1

Attaching a screenshot for more clarity Schermata 2019-10-23 alle 16 22 25

You can see an example of a failed build here https://github.com/HabitRPG/habitica/pull/11474/checks?check_run_id=271716057.

The code of the workflow is the standard one that can be seen in the official docs

steps:
.....
    - name: Use Node.js ${{ matrix.node-version }}
      uses: actions/setup-node@v1
      with:
        node-version: ${{ matrix.node-version }}
....

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:57
  • Comments:39 (5 by maintainers)

github_iconTop GitHub Comments

7reactions
bryanmacfarlanecommented, Oct 24, 2019

UPDATE:

Yes, it’s external and nodejs downloads (not a CDN) is having. This action just downloads from their endpoint.

https://github.com/nodejs/build/issues/1993

We do have a workitem to cache the latest of each major version on our hosted images and this action checks that cache first (resolved the semver you supply against the cache and if not there queries the cloud).

Downside is you may not get absolute latest (image gen’d yesterday, patch released today). but we have a plan for that as well - an option in the action to always query for cloud first.

You could also fall back on failure the only issue with that takes a long time every invocation when an issue like this is happening and it’s a fresh machine every time.

Thoughts?

6reactions
ssannidhi-palocommented, Feb 24, 2020

Facing this issue today on github actions, with ubuntu-18.04 and node 12.14

test: runs-on: ubuntu-18.04 name: Run unit & integration tests steps: - uses: actions/checkout@v1 - name: Setup Node.js uses: actions/setup-node@v1 with: node-version: 12.14

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

1 - Stack Overflow
Try to change the node version to v0.9.9. – sonu singhal · 1. thx for reply, I tried but it's not work new...
Read more >
Installing Node.js via package manager
Node.js LTS and npm packages are available in the Main Repository. ... Download the macOS Installer directly from the nodejs.org web site.
Read more >
Could not download http nodejs org dist v0 12 13 ... - Edureka
I'm getting this error trying to build Zeppelin 0.6. on OS X 10.11.6 ERROR] Failed to execute ... global --unset url."http://".insteadOf Any ideas?...
Read more >
Download nodejs lts/* error - Netlify Support Forums
It was a server error for Node.js, nothing Netlify can do. Is this still happening? I'd anyways not suggest using Node 18 until...
Read more >
Troubleshooting Node.js Deploys - Heroku Dev Center
Check out this advice to troubleshoot failed Node.js deploys. ... node version 12.x... remote: Downloading and installing node 12.16.3...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found