-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Deno panic when running node module #22671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This one is complicated to fix. The underlying issue is that in Deno, all resolved modules are represented as file urls. This package transitively uses the https://www.npmjs.com/package/caller-path package, which uses https://www.npmjs.com/package/callsites, and that returns v8 callsites (https://v8.dev/docs/stack-trace-api#customizing-stack-traces). In Deno, I'm not sure how to fix this. Maybe |
I assume these were supposed to be different? 😅 Thanks for the update! FYI: this is not a blocker for me, I've moved on and don't even remember what I was doing to find it. I just reported it since your CLI asked me to. 😊 |
Adds support for `npm:bindings` and `npm:callsites` packages because of changes in denoland/deno_core#838. This `deno_core` bump causes us to stop prepending `file://` scheme for locations in stack traces that are for local files. Fixes #24462 , fixes #22671 , fixes #15717 , fixes #19130 , fixes WiseLibs/better-sqlite3#1205 , fixes WiseLibs/better-sqlite3#1034 , fixes #20936 --------- Co-authored-by: Nathan Whitaker <[email protected]>
Here reporting a panic as requested by the CLI.
The path
C:\Users\codyc\AppData\Local\deno\npm\registry.npmjs.org\fast-cli\3.2.0
does in fact exist. But I bet the problem is that there's no\\
after theC:
in the invalid path in the error message.The text was updated successfully, but these errors were encountered: