D
Deno
T
Deno
•
13mo ago
•
2 replies
Thomas
Is dynamic import in global installed CLI broken?
My CLI uses dynamic imports
. It works without any problems when I import it into a project
.
But when I install the CLI globally and try to run it
, I get the following error message
:
TypeError: Relative import path “@std/path” not prefixed with / or ./ or ../
TypeError: Relative import path “@std/path” not prefixed with / or ./ or ../
Is this a bug or a security feature
?
I know that the behavior was different in older Deno versions
.
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Deno CLI Broken
B
bbqchickenrobot / help
2y ago
dynamic import fail
E
Elektra / help
2y ago
Is dynamic import a slow type?
T
Thomas / help
2y ago