question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The extension "hediet.vscode-drawio" doesn't work

See original GitHub issue

OS/Web Information

  • Web Browser: Chrome
  • Local OS: Windows 10
  • code-server --version: 3.12.0 running in Docker

Steps to Reproduce

  1. install the extension hediet.vscode-drawio
  2. create empty file test.drawio.svg
  3. open the file

Expected

drawio diagram editor displayed

Actual

no diagram editor displayed

Logs

Error in browser console:

mainThreadExtensionService.ts:95 Activating extension ‘hediet.vscode-drawio’ failed: Cannot find module ‘/home/coder/.local/share/code-server/extensions/hediet.vscode-drawio-999.0.0-alpha/dist/extension/index’ Require stack:

  • /usr/lib/code-server/vendor/modules/code-oss-dev/out/vs/loader.js
  • /usr/lib/code-server/vendor/modules/code-oss-dev/out/bootstrap-amd.js
  • /usr/lib/code-server/vendor/modules/code-oss-dev/out/bootstrap-fork.js.

Looking at the files:

ls -hl .local/share/code-server/CachedExtensionVSIXs/ total 112M -rw-r–r-- 1 slavik users 1.9M Oct 20 23:10 donjayamanne.githistory-0.6.18 -rw-r–r-- 1 slavik users 32M Oct 20 22:54 felixfbecker.php-intellisense-2.3.14 -rw-r–r-- 1 slavik users 77M Oct 25 23:16 hediet.vscode-drawio-999.0.0-alpha -rw-r–r-- 1 slavik users 1.1M Oct 20 23:18 mhutchie.git-graph-1.30.0

This issue can be reproduced in VS Code: No

the same extension is working fine in the desktop VS Code

I’m not sure, if this is code-server issue or the extension issue. Let me know, if I need to resubmit in the extension repo.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
code-ashercommented, Jun 28, 2022

I am running code-server v4.4.0 using our official image:

  docker run -p 8080:8080 codercom/code-server --auth none

Then browsing to localhost:8080 (so no reverse proxy). I did also test with a reverse proxy (not NGINX though) which also worked.

Are able to reproduce the issue using the official Docker image (or running directly)?

0reactions
code-ashercommented, Jul 18, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

The extension "hediet.vscode-drawio" doesn't work #4400
The extension "hediet.vscode-drawio" doesn't work #4400 ... the same extension is working fine in the desktop VS Code.
Read more >
VS Code tips — The Draw.io extension - YouTube
Did you know you can view and edit Draw.io diagrams directly in VS Code ? Just install the Draw.io extension to get started: ......
Read more >
Draw.io Integration - Open VSX Registry
Draw.io VS Code Integration. This unofficial extension integrates Draw.io (also known as diagrams.net) into VS Code.
Read more >
vscode-rust vs vscode-drawio - compare differences and reviews ...
So -- this guy used an extension (named Rust) with rust-analyzer, which was known to not work, and it didn't work(!), and the...
Read more >
VS Code Drawio Integration : r/vscode - Reddit
1K votes, 52 comments. 98K subscribers in the vscode community. A subreddit for working with Microsoft's Visual Studio Code.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found