Title: [Bug]: Files missing from code-oss-dev/extensions/ipynb in MacOS Homebrew installation · Issue #4964 · coder/code-server · GitHub
Open Graph Title: [Bug]: Files missing from code-oss-dev/extensions/ipynb in MacOS Homebrew installation · Issue #4964 · coder/code-server
X Title: [Bug]: Files missing from code-oss-dev/extensions/ipynb in MacOS Homebrew installation · Issue #4964 · coder/code-server
Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information Web Browser: Safari 15.3 Local OS: MacOS 12.2.1 Remote OS: MacOS 12.2.1 and Arch Linux (rolling; 5.16.12). Remote Architecture: x86-64 code-serve...
Open Graph Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information Web Browser: Safari 15.3 Local OS: MacOS 12.2.1 Remote OS: MacOS 12.2.1 and Arch Linux (rolling; 5.16.12)...
X Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information Web Browser: Safari 15.3 Local OS: MacOS 12.2.1 Remote OS: MacOS 12.2.1 and Arch Linux (rolling; 5.16.12)...
Opengraph URL: https://github.com/coder/code-server/issues/4964
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Files missing from code-oss-dev/extensions/ipynb in MacOS Homebrew installation","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: Safari 15.3\r\n- Local OS: MacOS 12.2.1\r\n- Remote OS: MacOS 12.2.1 and Arch Linux (rolling; 5.16.12).\r\n- Remote Architecture: x86-64\r\n- `code-server --version`: 4.1.0\r\n\r\n\r\n### Steps to Reproduce\r\n\r\n1. Install with HomeBrew via `brew install code-server`\r\n2. Install extensions: Jupyter (ms-toolsai) and Python (ms-python)\r\n3. Open or create a Jupyter Notebook.\r\n4. Peruse Logs for Remote Extension Host\r\n\r\n\r\n### Expected\r\n\r\nA sequence of extensions (vscode.ipynb, then ms-toolsai.jupyter, then ms-python.python) should load, resulting in a Jupyter Notebook being rendered.\r\n\r\n### Actual\r\n\r\nThis works as expected in an Arch Linux installation (via an AUR).\r\n\r\nBut on a MacOS Homebrew installation, this halts when trying to load vscode.ipynb. Log complains that `[install folder]/vendor/modules/code-oss-dev/extensions/ipynb/dist/ipynbMain.js` is missing. A side-effect of this is simply that the Jupyter Notebook fails to load (or a new Notebook fails to be created).\r\n\r\nA band-aid fix is to simply copy over `[folder]/vendor/modules/code-oss-dev/extensions/ipynb/` wholesale from a working code-server installation in an Arch Linux box, which appears to resolve the problem.\r\n\r\n### Logs\r\n```\r\n [2022-03-09 05:12:21.415] [exthost] [info] ExtensionService#_doActivateExtension vscode.ipynb, startup: false, activationEvent: 'onNotebook:jupyter-notebook}'\r\n [2022-03-09 05:12:21.418] [exthost] [error] Activating extension vscode.ipynb failed due to an error:\r\n [2022-03-09 05:12:21.418] [exthost] [error] Error: Cannot find module '/Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/extensions/ipynb/dist/ipynbMain.js'\r\n Require stack:\r\n - /Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/out/vs/loader.js\r\n - /Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/out/bootstrap-amd.js\r\n - /Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/out/bootstrap-fork.js\r\n\t at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)\r\n\t at Function.Module._load (internal/modules/cjs/loader.js:746:27)\r\n\t at Function.t._load (/Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/out/vs/server/remoteExtensionHostProcess.js:114:28641)\r\n\t at Function.g._load (/Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/out/vs/server/remoteExtensionHostProcess.js:114:25198)\r\n\t at Function.f._load (/Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/out/vs/server/remoteExtensionHostProcess.js:104:61699)\r\n\t at Module.require (internal/modules/cjs/loader.js:974:19)\r\n\t at Module.require (/Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/extensions/git/dist/main.js:2:516200)\r\n\t at require (internal/modules/cjs/helpers.js:101:18)\r\n\t at Function.r [as __$__nodeRequire] (/Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/out/vs/loader.js:5:101)\r\n\t at p._loadCommonJSModule (/Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/out/vs/server/remoteExtensionHostProcess.js:114:26716)\r\n\t at p._doActivateExtension (/Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/out/vs/server/remoteExtensionHostProcess.js:100:12954)\r\n\t at p._activateExtension (/Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/out/vs/server/remoteExtensionHostProcess.js:100:11927)\r\n\t at Object.actualActivateExtension (/Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/out/vs/server/remoteExtensionHostProcess.js:100:9302)\r\n\t at b._activateExtension (/Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/out/vs/server/remoteExtensionHostProcess.js:95:7855)\r\n\t at /Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/out/vs/server/remoteExtensionHostProcess.js:95:7537\r\n\t at Array.map (\u003canonymous>)\r\n\t at b._activateExtensions (/Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/out/vs/server/remoteExtensionHostProcess.js:95:7525)\r\n\t at b.activateById (/Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/out/vs/server/remoteExtensionHostProcess.js:95:5123)\r\n\t at p._activateById (/Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/out/vs/server/remoteExtensionHostProcess.js:100:10304)\r\n\t at p.$activate (/Users/edrazor/brew/Cellar/code-server/4.1.0/libexec/vendor/modules/code-oss-dev/out/vs/server/remoteExtensionHostProcess.js:100:20813)\r\n```\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\n_No response_","author":{"url":"https://github.com/quantex","@type":"Person","name":"quantex"},"datePublished":"2022-03-09T10:16:44Z","url":"https://github.com/coder/code-server/issues/4964"}
| 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:fc65ecb6-e8ae-0e29-747f-f6061b81e6ee |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA7A:14ECB:3213B77:3FB5E91:6B01D301 |
| html-safe-nonce | 111ee92841d40b57a4e6b5ef633616c284d8026afb83885895f986a56e64124e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTdBOjE0RUNCOjMyMTNCNzc6M0ZCNUU5MTo2QjAxRDMwMSIsInZpc2l0b3JfaWQiOiIxMzY4MDkxMzYyMTEyNjg4ODk3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e4c1fa49626e5ceda337ac0ea503c1aa8fdf308fc8ad9d516b1e7f0dae93e941 |
| hovercard-subject-tag | issue:1163744321 |
| 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/4964/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5e3c0bcec71eda61424c948305e39618631fbb0c6d7eefb261343fb70bff33c1/coder/code-server/issues/4964 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5e3c0bcec71eda61424c948305e39618631fbb0c6d7eefb261343fb70bff33c1/coder/code-server/issues/4964 |
| og:image:alt | Is there an existing issue for this? I have searched the existing issues OS/Web Information Web Browser: Safari 15.3 Local OS: MacOS 12.2.1 Remote OS: MacOS 12.2.1 and Arch Linux (rolling; 5.16.12)... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | quantex |
| 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