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

Did you find this page helpful?