Title: Prettier extension does not work · Issue #265 · coder/code-server · GitHub
Open Graph Title: Prettier extension does not work · Issue #265 · coder/code-server
X Title: Prettier extension does not work · Issue #265 · coder/code-server
Description: code-server version: v1.32.0-282 OS Version: Ubuntu 18.04.1 LTS in AWS EC2 Description After installing the Prettier extension, it is not loaded according to VS Code -> Output panel Found following errors in the Chrome Deverloper Tools -...
Open Graph Description: code-server version: v1.32.0-282 OS Version: Ubuntu 18.04.1 LTS in AWS EC2 Description After installing the Prettier extension, it is not loaded according to VS Code -> Output panel Found following...
X Description: code-server version: v1.32.0-282 OS Version: Ubuntu 18.04.1 LTS in AWS EC2 Description After installing the Prettier extension, it is not loaded according to VS Code -> Output panel Found follow...
Opengraph URL: https://github.com/coder/code-server/issues/265
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Prettier extension does not work","articleBody":"- `code-server` version: v1.32.0-282\r\n- OS Version: Ubuntu 18.04.1 LTS in AWS EC2\r\n\r\n## Description\r\n\r\nAfter installing the Prettier extension, it is not loaded according to VS Code -\u003e Output panel\r\n\r\nFound following errors in the Chrome Deverloper Tools -\u003e Console:\r\n\r\n```\r\nVM5645 webview-pre.js:378 Refused to apply inline style because it violates the following Content Security Policy directive: \"style-src 'self'\". Either the 'unsafe-inline' keyword, a hash ('sha256-lI7FtpaE7cBnMCxYJFcftk1y+Kd3aGDm9OKs5qP5uf4='), or a nonce ('nonce-...') is required to enable inline execution.\r\n\r\nwebview-pre.js:378 Refused to apply inline style because it violates the following Content Security Policy directive: \"style-src 'self'\". Either the 'unsafe-inline' keyword, a hash ('sha256-lI7FtpaE7cBnMCxYJFcftk1y+Kd3aGDm9OKs5qP5uf4='), or a nonce ('nonce-...') is required to enable inline execution.\r\n\r\ncb2232.bundle.js:60 Activating extension 'esbenp.prettier-vscode' failed: Cannot find module 'prettier'.\r\n\r\ncb2232.bundle.js:45 [Extension Host] Activating extension 'esbenp.prettier-vscode' failed: Cannot find module 'prettier'. (at Object.showMessage (eval at exports.requireModule (/usr/local/bin/code-server:468:27660), \u003canonymous\u003e:177866:37))\r\n\r\ncb2232.bundle.js:45 [Extension Host] Activating extension `esbenp.prettier-vscode` failed: Cannot find module 'prettier' (at newlyActivatingExtension._host.actualActivateExtension.then (eval at exports.requireModule (/usr/local/bin/code-server:468:27660), \u003canonymous\u003e:177722:25))\r\n```\r\n\r\n## Steps to Reproduce\r\n\r\n1. Start self-hosted code-server (v1.32.0-282) in Ubuntu 18.04.1 LTS in AWS EC2\r\n1. Navigate to it from my Mac using Chrome, e.g., https://10.0.x.x:8888/\r\n1. Open Extensions tab -\u003e Install Prettier\r\n1. Open Chrome Developer Tools -\u003e Console and saw the above errors.","author":{"url":"https://github.com/ca-pli","@type":"Person","name":"ca-pli"},"datePublished":"2019-03-16T14:11:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/265/code-server/issues/265"}
| 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:af04a21b-10ad-40e9-7eba-bd5cb69f30a2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C17C:139A69:F2CA61:15177AC:696A87C2 |
| html-safe-nonce | 5d42669ff34e6bfdc0f29add8c1286dbf8956d45b464b61c5ce5bcc3220d2fd7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTdDOjEzOUE2OTpGMkNBNjE6MTUxNzdBQzo2OTZBODdDMiIsInZpc2l0b3JfaWQiOiI4MTA4MDU1MjI3NTUwODI4NDgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b71f64e8cdd53a083fee479d000e6526b2bb40d4363f5b4da89100a70782baec |
| hovercard-subject-tag | issue:421811145 |
| 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/265/issue_layout |
| twitter:image | https://opengraph.githubassets.com/70a12c54e0d3a9435aa2cb0f500832c3a7d523a650d172693c70d971ac6352ce/coder/code-server/issues/265 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/70a12c54e0d3a9435aa2cb0f500832c3a7d523a650d172693c70d971ac6352ce/coder/code-server/issues/265 |
| og:image:alt | code-server version: v1.32.0-282 OS Version: Ubuntu 18.04.1 LTS in AWS EC2 Description After installing the Prettier extension, it is not loaded according to VS Code -> Output panel Found following... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ca-pli |
| hostname | github.com |
| expected-hostname | github.com |
| None | d2aa6dedd7d97fa651b17c40401f2605f309df5ca5fb659bf0554cf34f1de825 |
| 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 | c1dbca8981c5e3d6a69bce2f1d289e732b86241d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width