Title: EBADF fstat error with 25.7.0 but not 25.6.1 · Issue #62012 · nodejs/node · GitHub
Open Graph Title: EBADF fstat error with 25.7.0 but not 25.6.1 · Issue #62012 · nodejs/node
X Title: EBADF fstat error with 25.7.0 but not 25.6.1 · Issue #62012 · nodejs/node
Description: Version 25.7.0 Platform Alpine 3.23 Subsystem No response What steps will reproduce the bug? Both Cypress and ESLint using Yarn 4.12.0, have the error: node:internal/event_target:1118 process.nextTick(() => { throw err; }); ^ Error: EBAD...
Open Graph Description: Version 25.7.0 Platform Alpine 3.23 Subsystem No response What steps will reproduce the bug? Both Cypress and ESLint using Yarn 4.12.0, have the error: node:internal/event_target:1118 process.nextT...
X Description: Version 25.7.0 Platform Alpine 3.23 Subsystem No response What steps will reproduce the bug? Both Cypress and ESLint using Yarn 4.12.0, have the error: node:internal/event_target:1118 process.nextT...
Opengraph URL: https://github.com/nodejs/node/issues/62012
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"EBADF fstat error with 25.7.0 but not 25.6.1","articleBody":"### Version\n\n25.7.0\n\n### Platform\n\n```text\nAlpine 3.23\n```\n\n### Subsystem\n\n_No response_\n\n### What steps will reproduce the bug?\n\nBoth Cypress and ESLint using Yarn 4.12.0, have the error:\n\n```\nnode:internal/event_target:1118\n process.nextTick(() =\u003e { throw err; });\n ^\nError: EBADF: bad file descriptor, fstat\n at tryStatSync (node:fs:386:25)\n at readFileSync (node:fs:442:17)\n at getSourceSync (node:internal/modules/esm/load:37:14)\n at createCJSModuleWrap (node:internal/modules/esm/translators:204:32)\n at ModuleLoader.commonjsStrategy (node:internal/modules/esm/translators:343:10)\n at #translate (node:internal/modules/esm/loader:451:20)\n at afterLoad (node:internal/modules/esm/loader:507:29)\n at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:512:12)\n at #getOrCreateModuleJobAfterResolve (node:internal/modules/esm/loader:555:36)\n at afterResolve (node:internal/modules/esm/loader:603:52) {\n errno: -9,\n code: 'EBADF',\n syscall: 'fstat'\n}\n\nNode.js v25.7.0\n```\n\nIt is not an issue when installing Cypress or running ESLint with Node 25.6.1\n\n### How often does it reproduce? Is there a required condition?\n\nEvery time\n\n### What is the expected behavior? Why is that the expected behavior?\n\nRunning ESLint or installing Cypress should not reproduce the error.\n\n### What do you see instead?\n\nInstalled without errors for Cypress, Lints without errors for ESLint.\n\n### Additional information\n\nAt first I thought it was an issue with Cypress until I ran ESLint.\nhttps://github.com/cypress-io/cypress/issues/33418","author":{"url":"https://github.com/SheldonWBM","@type":"Person","name":"SheldonWBM"},"datePublished":"2026-02-26T21:23:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":21},"url":"https://github.com/62012/node/issues/62012"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bfcd2c64-0a57-1a54-e7e3-af53479dbfb6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C80E:F61E5:DFE344:13555DD:6A4DCBE1 |
| html-safe-nonce | 35301297777639ba0ecfef32cbfd4df1e209970b8cef65ebad35bfd1b2066ec3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODBFOkY2MUU1OkRGRTM0NDoxMzU1NUREOjZBNERDQkUxIiwidmlzaXRvcl9pZCI6IjYwMTY1NTMxNDUzNzQ0NjA4OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a59dc14db004c679ea4e206c6ebe180c900af0c9a3a2f2ab13ce76c73e4a37df |
| hovercard-subject-tag | issue:3997816512 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/62012/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f38048896428f30c0331471e1b174499b337f5888494c485b785a1e383985325/nodejs/node/issues/62012 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f38048896428f30c0331471e1b174499b337f5888494c485b785a1e383985325/nodejs/node/issues/62012 |
| og:image:alt | Version 25.7.0 Platform Alpine 3.23 Subsystem No response What steps will reproduce the bug? Both Cypress and ESLint using Yarn 4.12.0, have the error: node:internal/event_target:1118 process.nextT... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SheldonWBM |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width