GIthub Actions failed to run on Node 16 and Node 20 #134478
Replies: 5 comments 2 replies
-
Same issues build for NextJS are failing due to npm ci issues |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
I never set such a small timeout for real workflows. Is npm ci really hanging or do you don't give it enough time? a timeout of 10 or 15min would not be that strict. |
Beta Was this translation helpful? Give feedback.
-
@nismolap @ChristopherHX i have been running the test for about 6 months with timeout of 5 mins only it was working fine all the time |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Hello,
I'm encountering issues with my GitHub Actions workflow, specifically with the
npm ci
step failing.We previously ran the environment on Node.js 16.x, but recently it started failing. As recommended by GitHub in this announcement, we attempted to update our workflow to use Node.js 20.x. Along with this, we also updated actions/checkout to v4 and actions/setup-node to v4.
Despite these changes, the npm ci step continues to fail for both Node.js 16.x and 20.x. Error: The operation was canceled.
This are my node 16 configurations
This are my current node 20 configurations as per this announcement
Has anyone experienced similar problems or have any suggestions for troubleshooting and resolving this issue?
Any help or insights would be greatly appreciated.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions