René's URL Explorer Experiment


Title: [Fix]: Better output when installing with NPM · Issue #5537 · coder/code-server · GitHub

Open Graph Title: [Fix]: Better output when installing with NPM · Issue #5537 · coder/code-server

X Title: [Fix]: Better output when installing with NPM · Issue #5537 · coder/code-server

Description: Why do you want this feature? In the postinstall.sh script that is used when installing with npm, we use nested commands to install vscode and its extensions - see code As reported in #5530 (and more in #5533), installs were passing but ...

Open Graph Description: Why do you want this feature? In the postinstall.sh script that is used when installing with npm, we use nested commands to install vscode and its extensions - see code As reported in #5530 (and mo...

X Description: Why do you want this feature? In the postinstall.sh script that is used when installing with npm, we use nested commands to install vscode and its extensions - see code As reported in #5530 (and mo...

Opengraph URL: https://github.com/coder/code-server/issues/5537

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Fix]: Better output when installing with NPM","articleBody":"## Why do you want this feature?\r\n\r\nIn the `postinstall.sh` script that is used when installing with `npm`, we use nested commands to install `vscode` and its extensions - [see code](https://github.com/coder/code-server/blob/main/ci/build/npm-postinstall.sh#L156)\r\n\r\nAs reported in https://github.com/coder/code-server/issues/5530 (and more in https://github.com/coder/code-server/pull/5533), installs were passing but actually failing - and only was seen during runtime.\r\n\r\nThe nested installs were failing, but the errors weren't being bubbled-up... Was only seen when using `--foreground-scripts`.\r\n\r\n## What is your suggestion?\r\n* NPM 8 needs to be passed `--foreground-scripts` to actually see the output of the nested. We should update the doc to show that as a troubleshooting step in here: https://coder.com/docs/code-server/latest/npm#debugging-install-issues-with-npm\r\n* I would expect the overall script to have a non-0 exit code if any of the nested scripts failed (i.e. they themselves had a non-0 exit code) which would make the overall `npm install` fail. Need to investigate that.\r\n\r\n## Are there any workarounds to get this functionality today?\r\n* Pass `--foreground-scripts` and read carefully :(\r\n\r\n## Are you interested in submitting a PR for this?\r\nYes","author":{"url":"https://github.com/edvincent","@type":"Person","name":"edvincent"},"datePublished":"2022-09-06T16:34:18Z","url":"https://github.com/coder/code-server/issues/5537"}

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:7516aa00-91bd-38a1-47d8-9704ec8eb09f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8E30:38E318:29A22BB:34B80BB:6B01D980
html-safe-noncea5c7523b91b60a95f0172fb662df0619b9a9c8bc18ff872a6cc97373f095f91d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTMwOjM4RTMxODoyOUEyMkJCOjM0QjgwQkI6NkIwMUQ5ODAiLCJ2aXNpdG9yX2lkIjoiNDg5NzIwNzU5NDg2MDUzNDE0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccbed10d14d43449dcc9b1ff714e559ca0b9d5f92e103d2914e0509f9a1b7b927
hovercard-subject-tagissue:1363545168
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/coder/code-server/5537/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ae5cd4edb47c70f008e283f6f33ff06781dbd89aaa465b8e2d54a68255c046de/coder/code-server/issues/5537
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ae5cd4edb47c70f008e283f6f33ff06781dbd89aaa465b8e2d54a68255c046de/coder/code-server/issues/5537
og:image:altWhy do you want this feature? In the postinstall.sh script that is used when installing with npm, we use nested commands to install vscode and its extensions - see code As reported in #5530 (and mo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameedvincent
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/coder/code-server git https://github.com/coder/code-server.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id172953845
octolytics-dimension-repository_nwocoder/code-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id172953845
octolytics-dimension-repository_network_root_nwocoder/code-server
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/code-server/issues/5537#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fissues%2F5537
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%2Fcoder%2Fcode-server%2Fissues%2F5537
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=coder%2Fcode-server
Reloadhttps://github.com/coder/code-server/issues/5537
Reloadhttps://github.com/coder/code-server/issues/5537
Reloadhttps://github.com/coder/code-server/issues/5537
coderhttps://github.com/coder
code-serverhttps://github.com/coder/code-server
Codehttps://github.com/coder/code-server
Issues147 (147)https://github.com/coder/code-server/issues
Pull requests17 (17)https://github.com/coder/code-server/pulls
Discussionshttps://github.com/coder/code-server/discussions
Actionshttps://github.com/coder/code-server/actions
Projectshttps://github.com/coder/code-server/projects
Security and quality3 (3)https://github.com/coder/code-server/security
Insightshttps://github.com/coder/code-server/insights
https://github.com/coder/code-server
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/5537
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/5537
[Fix]: Better output when installing with NPMhttps://github.com/coder/code-server/issues/5537#top
https://github.com/edvincent
enhancementSome improvement that isn't a featurehttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22enhancement%22
On Deckhttps://github.com/coder/code-server/milestone/20
https://github.com/edvincent
edvincenthttps://github.com/edvincent
on Sep 6, 2022https://github.com/coder/code-server/issues/5537#issue-1363545168
see codehttps://github.com/coder/code-server/blob/main/ci/build/npm-postinstall.sh#L156
#5530https://github.com/coder/code-server/issues/5530
#5533https://github.com/coder/code-server/pull/5533
https://coder.com/docs/code-server/latest/npm#debugging-install-issues-with-npmhttps://coder.com/docs/code-server/latest/npm#debugging-install-issues-with-npm
edvincenthttps://github.com/edvincent
enhancementSome improvement that isn't a featurehttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Sep 6, 2022https://github.com/coder/code-server/issues/5537#event-7332094374
jsjoeiohttps://github.com/jsjoeio
edvincenthttps://github.com/edvincent
on Sep 6, 2022https://github.com/coder/code-server/issues/5537#event-7332251282
jsjoeiohttps://github.com/jsjoeio
September 2022https://github.com/coder/code-server/milestone/45
on Sep 6, 2022https://github.com/coder/code-server/issues/5537#event-7332252317
https://github.com/jsjoeio
jsjoeiohttps://github.com/jsjoeio
on Sep 6, 2022https://github.com/coder/code-server/issues/5537#issuecomment-1238418643
jsjoeiohttps://github.com/jsjoeio
September 2022https://github.com/coder/code-server/milestone/45
October 2022https://github.com/coder/code-server/milestone/47
on Sep 30, 2022https://github.com/coder/code-server/issues/5537#event-7497168350
jsjoeiohttps://github.com/jsjoeio
October 2022https://github.com/coder/code-server/milestone/47
On Deckhttps://github.com/coder/code-server/milestone/20
on Oct 10, 2022https://github.com/coder/code-server/issues/5537#event-7557438190
code-asherhttps://github.com/code-asher
not plannedhttps://github.com/coder/code-server/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Jul 13, 2024https://github.com/coder/code-server/issues/5537#event-13493888570
code-asherhttps://github.com/code-asher
on Jul 13, 2024https://github.com/coder/code-server/issues/5537#event-13493893197
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/code-server/issues/5537
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/code-server/issues/5537
edvincenthttps://github.com/edvincent
enhancementSome improvement that isn't a featurehttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22enhancement%22
On Deckhttps://github.com/coder/code-server/milestone/20
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.