Title: [Bug]: Use npm instead of yarn in postinstall script · Issue #5056 · coder/code-server · GitHub
Open Graph Title: [Bug]: Use npm instead of yarn in postinstall script · Issue #5056 · coder/code-server
X Title: [Bug]: Use npm instead of yarn in postinstall script · Issue #5056 · coder/code-server
Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information Web Browser: n/a Local OS: n/a Remote OS: n/a Remote Architecture: n/a code-server --version: development Steps to Reproduce yarn build release U...
Open Graph Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information Web Browser: n/a Local OS: n/a Remote OS: n/a Remote Architecture: n/a code-server --version: development...
X Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information Web Browser: n/a Local OS: n/a Remote OS: n/a Remote Architecture: n/a code-server --version: development...
Opengraph URL: https://github.com/coder/code-server/issues/5056
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Use npm instead of yarn in postinstall script","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have searched the existing issues\r\n\r\n### OS/Web Information\r\n\r\n- Web Browser: n/a\r\n- Local OS: n/a\r\n- Remote OS: n/a\r\n- Remote Architecture: n/a\r\n- `code-server --version`: development\r\n\r\n\r\n### Steps to Reproduce\r\n\r\n1. `yarn build release`\r\n2. Uninstall yarn\r\n3. `cd release && npm install`\r\n\r\n### Expected\r\n\r\nInstall completes successfully.\r\n\r\n### Actual\r\n\r\nAlthough I have not actually done this (uninstalling yarn is a pain), the postinstall script uses yarn so it will probably error that yarn cannot be found.\r\n\r\n### Logs\r\n\r\n_No response_\r\n\r\n### Screenshot/Video\r\n\r\n_No response_\r\n\r\n### Does this issue happen in VS Code?\r\n\r\n- [X] I cannot reproduce this in VS Code.\r\n\r\n### Are you accessing code-server over HTTPS?\r\n\r\n- [X] I am using HTTPS.\r\n\r\n### Notes\r\n\r\nTo fix:\r\n\r\n1. Replace `yarn` with `npm` in `npm-postinstall.sh`\r\n2. Generate shrinkwrap files for:\r\n 1. `lib/vscode/package.json`\r\n 2. `lib/vscode/extensions/package.json`","author":{"url":"https://github.com/code-asher","@type":"Person","name":"code-asher"},"datePublished":"2022-03-31T16:45:38Z","url":"https://github.com/coder/code-server/issues/5056"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4a549771-8312-ac91-ac11-6ccc0accc937 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 977A:361639:2AD74BF:393AAB8:6B01C8E2 |
| html-safe-nonce | 03d98478513769990cecfd2e8d7adab7b23743adbd3e9125006ee229c3b7b533 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzdBOjM2MTYzOToyQUQ3NEJGOjM5M0FBQjg6NkIwMUM4RTIiLCJ2aXNpdG9yX2lkIjoiMTc1ODc5MzAyMjIyMjQ4NTczMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 62719959666bf6c9a6087420a1067246dda3155a72e0aa52ca74cc32881b9958 |
| hovercard-subject-tag | issue:1188361048 |
| 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/coder/code-server/5056/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5aad086c3d1677bcde3a7fafdc2c67ce176d0078f906426dff061f00cd627ac4/coder/code-server/issues/5056 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5aad086c3d1677bcde3a7fafdc2c67ce176d0078f906426dff061f00cd627ac4/coder/code-server/issues/5056 |
| og:image:alt | Is there an existing issue for this? I have searched the existing issues OS/Web Information Web Browser: n/a Local OS: n/a Remote OS: n/a Remote Architecture: n/a code-server --version: development... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | code-asher |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width