René's URL Explorer Experiment


Title: fix: pnpm installs hang forever - close stdin, harden the pnpm backend by NathanWalker · Pull Request #6139 · NativeScript/nativescript-cli · GitHub

Open Graph Title: fix: pnpm installs hang forever - close stdin, harden the pnpm backend by NathanWalker · Pull Request #6139 · NativeScript/nativescript-cli

X Title: fix: pnpm installs hang forever - close stdin, harden the pnpm backend by NathanWalker · Pull Request #6139 · NativeScript/nativescript-cli

Description: pnpm 10/11 never exits while its stdin is an open pipe, so every CLI-fired install (ns run/debug --force, ns install, plugin add) finished its work and then hung the CLI on the child's "close" event. Non-interactive installs now spawn with stdin ignored. Also in the pnpm backend: pass --shamefully-hoist only when no pnpm-workspace.yaml or .npmrc layout key (node-linker, shamefully-hoist, hoist*) governs the install dir: pnpm treats a contradicting hoist flag as a config change and rebuilds node_modules, aborting when there is no TTY drop CLI-internal options (ignoreScripts, path, frameworkPath) before flag serialization: pnpm hard-fails on unknown options where npm silently accepts them getCachePath: pnpm config get cache prints "undefined" (pnpm has no cache key), yielding a relative junk path for pacote; fall back to the parent of pnpm store path Summary by CodeRabbit Bug Fixes Improved package installation reliability by preventing unsupported internal options from being passed to pnpm. Corrected hoisting behavior for projects that manage their own workspace configuration, including array-based hoisting settings. Improved cache detection, with fallback to pnpm’s store path when no valid cache is configured. Improved non-interactive installations by handling standard input, output, and errors separately.

Open Graph Description: pnpm 10/11 never exits while its stdin is an open pipe, so every CLI-fired install (ns run/debug --force, ns install, plugin add) finished its work and then hung the CLI on the child's "cl...

X Description: pnpm 10/11 never exits while its stdin is an open pipe, so every CLI-fired install (ns run/debug --force, ns install, plugin add) finished its work and then hung the CLI on the child's &...

Opengraph URL: https://github.com/NativeScript/nativescript-cli/pull/6139

X: @github

direct link

Domain: github.com

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:39ecfd3c-f2f8-c484-6def-d8c4c87367dd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id914C:1C94F:12FC6AE:183DFD1:6B0165A6
html-safe-nonce2e99673e47f2608e007278ed29f0e146a917ba671a40eb1c66931d03ea54ebeb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTRDOjFDOTRGOjEyRkM2QUU6MTgzREZEMTo2QjAxNjVBNiIsInZpc2l0b3JfaWQiOiIxNjYwNzYyNzA0MzgzNjY1NTc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac658d00eb4b14864f6f7310127996cc6ba34c736382a18f2b3e97df7098b146e2
hovercard-subject-tagpull_request:4399288234
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/NativeScript/nativescript-cli/pull/6139/files
twitter:imagehttps://avatars.githubusercontent.com/u/457187?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/457187?s=400&v=4
og:image:altpnpm 10/11 never exits while its stdin is an open pipe, so every CLI-fired install (ns run/debug --force, ns install, plugin add) finished its work and then hung the CLI on the child's "cl...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id21347346
octolytics-dimension-repository_nwoNativeScript/nativescript-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21347346
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-cli/pull/6139/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F6139%2Ffiles
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%2FNativeScript%2Fnativescript-cli%2Fpull%2F6139%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NativeScript%2Fnativescript-cli
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6139/files
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6139/files
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6139/files
NativeScripthttps://github.com/NativeScript
nativescript-clihttps://github.com/NativeScript/nativescript-cli
Codehttps://github.com/NativeScript/nativescript-cli
Issues357 (357)https://github.com/NativeScript/nativescript-cli/issues
Pull requests38 (38)https://github.com/NativeScript/nativescript-cli/pulls
Actionshttps://github.com/NativeScript/nativescript-cli/actions
Projectshttps://github.com/NativeScript/nativescript-cli/projects
Security and qualityhttps://github.com/NativeScript/nativescript-cli/security
Insightshttps://github.com/NativeScript/nativescript-cli/insights
Sign up for GitHub https://github.com/signup?return_to=%2FNativeScript%2Fnativescript-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FNativeScript%2Fnativescript-cli%2Fissues%2Fnew%2Fchoose
NathanWalkerhttps://github.com/NathanWalker
mainhttps://github.com/NativeScript/nativescript-cli/tree/main
fix/pnpm-in-workspaceshttps://github.com/NativeScript/nativescript-cli/tree/fix/pnpm-in-workspaces
Conversation 4 https://github.com/NativeScript/nativescript-cli/pull/6139
Commits 3 https://github.com/NativeScript/nativescript-cli/pull/6139/commits
Checks 11 https://github.com/NativeScript/nativescript-cli/pull/6139/checks
Files changed https://github.com/NativeScript/nativescript-cli/pull/6139/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6139/files
fix: pnpm installs hang forever - close stdin, harden the pnpm backend https://github.com/NativeScript/nativescript-cli/pull/6139/files#top
Show all changes 3 commits https://github.com/NativeScript/nativescript-cli/pull/6139/files
a6ab285 fix: pnpm installs hang forever - close stdin, harden the pnpm backend NathanWalker Aug 31, 2026 https://github.com/NativeScript/nativescript-cli/pull/6139/commits/a6ab285db531c2fdc1b36958da8f9e7c46a97ac8
2428b3a chore: release v9.1.1-dev.0 github-actions[bot] Aug 31, 2026 https://github.com/NativeScript/nativescript-cli/pull/6139/commits/2428b3a9a91a262c5b83dcfc4d77ae4a0cb4418a
68a7c06 fix: recognize .npmrc array-valued hoist keys; make stdio test TTY-in… NathanWalker Aug 31, 2026 https://github.com/NativeScript/nativescript-cli/pull/6139/commits/68a7c063d9b23a2ae7717b145b3a19929c548008
Clear filters https://github.com/NativeScript/nativescript-cli/pull/6139/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6139/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6139/files
base-package-manager.ts https://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-4c51ab3da93f11ac0af99b64c255e8983a0ddbb1b9a7e28d3853343c30763802
pnpm-package-manager.ts https://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-1e442f3f605323c7dc94e70f0d841bf20a00b4b46b4bb779b5c071e3df24578c
pnpm-package-manager.ts https://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-37d290c476209ac8110008d86ad9b11733c83097adbb61f185bade9cb832b696
lib/base-package-manager.tshttps://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-4c51ab3da93f11ac0af99b64c255e8983a0ddbb1b9a7e28d3853343c30763802
View file https://github.com/NativeScript/nativescript-cli/blob/68a7c063d9b23a2ae7717b145b3a19929c548008/lib/base-package-manager.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6139/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-4c51ab3da93f11ac0af99b64c255e8983a0ddbb1b9a7e28d3853343c30763802
https://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-4c51ab3da93f11ac0af99b64c255e8983a0ddbb1b9a7e28d3853343c30763802
https://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-4c51ab3da93f11ac0af99b64c255e8983a0ddbb1b9a7e28d3853343c30763802
https://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-4c51ab3da93f11ac0af99b64c255e8983a0ddbb1b9a7e28d3853343c30763802
https://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-4c51ab3da93f11ac0af99b64c255e8983a0ddbb1b9a7e28d3853343c30763802
https://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-4c51ab3da93f11ac0af99b64c255e8983a0ddbb1b9a7e28d3853343c30763802
lib/pnpm-package-manager.tshttps://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-1e442f3f605323c7dc94e70f0d841bf20a00b4b46b4bb779b5c071e3df24578c
View file https://github.com/NativeScript/nativescript-cli/blob/68a7c063d9b23a2ae7717b145b3a19929c548008/lib/pnpm-package-manager.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6139/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-1e442f3f605323c7dc94e70f0d841bf20a00b4b46b4bb779b5c071e3df24578c
https://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-1e442f3f605323c7dc94e70f0d841bf20a00b4b46b4bb779b5c071e3df24578c
https://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-1e442f3f605323c7dc94e70f0d841bf20a00b4b46b4bb779b5c071e3df24578c
https://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-1e442f3f605323c7dc94e70f0d841bf20a00b4b46b4bb779b5c071e3df24578c
https://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-1e442f3f605323c7dc94e70f0d841bf20a00b4b46b4bb779b5c071e3df24578c
https://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-1e442f3f605323c7dc94e70f0d841bf20a00b4b46b4bb779b5c071e3df24578c
https://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-1e442f3f605323c7dc94e70f0d841bf20a00b4b46b4bb779b5c071e3df24578c
https://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-1e442f3f605323c7dc94e70f0d841bf20a00b4b46b4bb779b5c071e3df24578c
https://github.com/NativeScript/nativescript-cli/pull/6139/files#diff-1e442f3f605323c7dc94e70f0d841bf20a00b4b46b4bb779b5c071e3df24578c
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6139/files
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

Viewport: width=device-width


URLs of crawlers that visited me.