cspotcodeC
Deno15mo ago
cspotcode

Open stack frame source in editor, for transitive dependency

When an error occurs in one of my transitive dependencies, I see a stack frame in my terminal that looks like this:
error: Module not found "https://glfw-binaries.deno.dev/3.4.0-patch1/glfw3_darwin.js".
    at https://deno.land/x/dwm@0.3.2/src/platform/glfw/ffi.ts:2:20

My first thought is that I want to see that source code. I want to see
ffi.ts
line 2. Normally, I would ctrl+click that line in terminal and my editor would open the file, navigated to that line so I can read the code, complete with language service tooling.
With Deno, VSCode instead asks if I want to open that URL in a browser.

Is there a way to browse through transitive dependencies in my code editor?
Was this page helpful?