juraj9218
juraj9218•17mo 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.•17mo ago
Where is the error message coming from? Did you generate a new project? Did you update an existing project?
bajosi
bajosi•17mo ago
openning the deno project as root folder should fix it
marvinh.
marvinh.•17mo ago
Is this error occuring when you run the project or in vscode?
juraj9218
juraj9218OP•17mo ago
Hi. I created a new project with deno run -A -r https://fresh.deno.dev iterm2
marvinh.
marvinh.•17mo ago
Thanks for sharing more information. I can reproduce that on my end. Looking into it
:enomem
:enomem•17mo ago
@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.•17mo 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
:enomem
:enomem•17mo ago
Tentatively confirmed working 🙂
juraj9218
juraj9218OP•17mo ago
it is working. Good job