René's URL Explorer Experiment


Title: `node --run` aborts on filesystem errors · Issue #67269 · nodejs/node · GitHub

Open Graph Title: `node --run` aborts on filesystem errors · Issue #67269 · nodejs/node

X Title: `node --run` aborts on filesystem errors · Issue #67269 · nodejs/node

Description: Version v28.0.0-pre Platform Darwin 25.6.0 arm64 Subsystem fs What steps will reproduce the bug? A node_modules directory in the project (or any parent) that cannot be read: mkdir -p proj && cd proj echo '{"scripts":{"hi":"echo hi"}}' > ...

Open Graph Description: Version v28.0.0-pre Platform Darwin 25.6.0 arm64 Subsystem fs What steps will reproduce the bug? A node_modules directory in the project (or any parent) that cannot be read: mkdir -p proj && cd pro...

X Description: Version v28.0.0-pre Platform Darwin 25.6.0 arm64 Subsystem fs What steps will reproduce the bug? A node_modules directory in the project (or any parent) that cannot be read: mkdir -p proj &&...

Opengraph URL: https://github.com/nodejs/node/issues/67269

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`node --run` aborts on filesystem errors","articleBody":"### Version\n\nv28.0.0-pre\n\n### Platform\n\n```text\nDarwin 25.6.0 arm64\n```\n\n### Subsystem\n\nfs\n\n### What steps will reproduce the bug?\n\n1. A `node_modules` directory in the project (or any parent) that cannot be read:\n\n```sh\nmkdir -p proj && cd proj\necho '{\"scripts\":{\"hi\":\"echo hi\"}}' > package.json\nmkdir node_modules && chmod 000 node_modules\nnode --run hi\n```\n\n2. The current working directory has been removed:\n\n```sh\nmkdir gone && cd gone && rmdir ../gone\nnode --run hi\n```\n\n### How often does it reproduce? Is there a required condition?\n\nAlways\n\n### What is the expected behavior? Why is that the expected behavior?\n\n1. The unreadable `node_modules/.bin` is skipped and the script runs, as it does when `node_modules` has no `.bin`.\n2. A regular error message and exit code 1, like the existing `Can't find package.json` error.\n\n\n### What do you see instead?\n\nThe process aborts with exit code 134:\n\n```\nlibc++abi: terminating due to uncaught exception of type std::__1::__fs::filesystem::filesystem_error: filesystem error: in posix_stat: failed to determine attributes for the specified path: Permission denied [\".../proj/node_modules/.bin\"]\n```\n\n```\nlibc++abi: terminating due to uncaught exception of type std::__1::__fs::filesystem::filesystem_error: filesystem error: in current_path: call to getcwd failed: No such file or directory\n```\n\n### Additional information\n\n_No response_","author":{"url":"https://github.com/jazelly","@type":"Person","name":"jazelly"},"datePublished":"2026-11-05T06:52:02Z","url":"https://github.com/nodejs/node/issues/67269"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a2d121af-901b-6abf-84b6-8aad3df509e9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBFBC:48D18:9BFEEC:C94198:6B0631FE
html-safe-nonce06c6ffc08290fd685d17c89a196caa80d2a3eaacbbb4a30b58cf5d43d0d11784
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkJDOjQ4RDE4OjlCRkVFQzpDOTQxOTg6NkIwNjMxRkUiLCJ2aXNpdG9yX2lkIjoiMTQ2ODk1MzUyMjY2ODk1ODcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc397a31d2f69c452b1de9db3a625aea7c462efdb09671e149f235728952d904a
hovercard-subject-tagissue:6218334402
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/67269/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1ecc3334e737c00bad494c7f012e30d94f7a558e70a06c53b0cc86aaddffdd5a/nodejs/node/issues/67269
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1ecc3334e737c00bad494c7f012e30d94f7a558e70a06c53b0cc86aaddffdd5a/nodejs/node/issues/67269
og:image:altVersion v28.0.0-pre Platform Darwin 25.6.0 arm64 Subsystem fs What steps will reproduce the bug? A node_modules directory in the project (or any parent) that cannot be read: mkdir -p proj && cd pro...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejazelly
hostnamegithub.com
expected-hostnamegithub.com
Nonec3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9eb3bb1597d09170a5f282cd38ae376dee1a5ec1
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/67269#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F67269
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F67269
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/67269
Reloadhttps://github.com/nodejs/node/issues/67269
Reloadhttps://github.com/nodejs/node/issues/67269
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues630 (630)https://github.com/nodejs/node/issues
Pull requests659 (659)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/insights
https://github.com/nodejs/node
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/67269
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/67269
#67270https://github.com/nodejs/node/pull/67270
node --run aborts on filesystem errorshttps://github.com/nodejs/node/issues/67269#top
#67270https://github.com/nodejs/node/pull/67270
fshttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22fs%22
https://github.com/jazelly
jazellyhttps://github.com/jazelly
on Nov 5, 2026https://github.com/nodejs/node/issues/67269#issue-6218334402
jazellyhttps://github.com/jazelly
fshttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22fs%22
on Nov 5, 2026https://github.com/nodejs/node/issues/67269#event-35212475470
nodejs-github-bothttps://github.com/nodejs-github-bot
completedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#67270https://github.com/nodejs/node/pull/67270
on Nov 15, 2026https://github.com/nodejs/node/issues/67269#event-36171049920
dnalborczykhttps://github.com/dnalborczyk
on Nov 15, 2026https://github.com/nodejs/node/issues/67269#event-36171846598
src: avoid aborting on filesystem errors in node --runhttps://github.com/dnalborczyk/node/commit/c07db8c5c1b1b18e1e0e088b83f56922c142c0cf
c07db8chttps://github.com/dnalborczyk/node/commit/c07db8c5c1b1b18e1e0e088b83f56922c142c0cf
aduh95https://github.com/aduh95
on Nov 19, 2026https://github.com/nodejs/node/issues/67269#event-36667043095
src: avoid aborting on filesystem errors in node --runhttps://github.com/nodejs/node/commit/9af13a6f03b5f9b2d7382194850f28e17128b968
9af13a6https://github.com/nodejs/node/commit/9af13a6f03b5f9b2d7382194850f28e17128b968
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/67269
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/67269
fshttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22fs%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.