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