deploy_feedback
deploy_feedback copied to clipboard
[Bug]: Relative import path "@olli/kvdex/ext/zod" not prefixed with.... for `jsr` modules
Problem description
It seems like the deno engine on deploy finds it hard to locate relative paths of jsr modules defined inside imports
of deno.json that were added through deno add
.
Full paths need to be defined as seperate entry in deno.json for it to work. See here and here
Steps to reproduce
- Clone https://github.com/waptik/weak-squirrel-86
- Create a new project on deno deploy and point it to the cloned repo
- Wait for deployment to complete and voila!
Expected behavior
Relative import for jsr modules defined in deno.json
should work without the need to manually assign paths in deno.json
or use the full path prefixed with jsr:
inside codebase(eg: jsr:@olli/kvdex/ext/zod
).
Meaning i should be able to safely use @olli/kvdex/ext/zod
Environment
- Deno version: 1.41.1
- OS version: windows 11, wsl(ubuntu 22.04), Brave
Possible solution
No response
Additional context
No response