juraj9218
juraj921811mo ago

Relative import path "preact" not prefixed with / or ./ or ../ at https://deno.land/x/fresh@1.4.

Please help.
deno 1.36.1 (release, aarch64-apple-darwin)
v8 11.6.189.12
typescript 5.1.6
deno 1.36.1 (release, aarch64-apple-darwin)
v8 11.6.189.12
typescript 5.1.6
9 Replies
marvinh.
marvinh.11mo ago
Where is the error message coming from? Did you generate a new project? Did you update an existing project?
bajosi
bajosi11mo ago
openning the deno project as root folder should fix it
marvinh.
marvinh.11mo ago
Is this error occuring when you run the project or in vscode?
juraj9218
juraj921811mo ago
Hi. I created a new project with deno run -A -r https://fresh.deno.dev iterm2
marvinh.
marvinh.11mo ago
Thanks for sharing more information. I can reproduce that on my end. Looking into it
Dr. Michael Corgius
@marvinh. if it's helpful, I'm getting the exact same error when upgrading Fresh (using: deno run -A -r https://fresh.deno.dev/update . ) in an existing project directory. I'm on Mac in VSCode. Likely related.
marvinh.
marvinh.11mo ago
Just published a patch 1.4.1 release to fix this. If you try it again it should work @juraj9218 Can you try running the command again? Just published a patch release that fixes this
Dr. Michael Corgius
Tentatively confirmed working 🙂
juraj9218
juraj921811mo ago
it is working. Good job