fresh: deno-fresh-demo not working
Deno 1.32.3
deno run -A -r https://fresh.deno.dev deno-fresh-demo
cd deno-fresh-demo
deno task start
An error occurred during route handling or page rendering. Error: Build failed with 1 error:
error: Module not downloaded yet.
at failureErrorWithLog (https://deno.land/x/esbuild@v0.14.51/mod.js:1601:15)
at https://deno.land/x/esbuild@v0.14.51/mod.js:1243:28
at runOnEndCallbacks (https://deno.land/x/esbuild@v0.14.51/mod.js:1023:63)
at buildResponseToResult (https://deno.land/x/esbuild@v0.14.51/mod.js:1241:7)
at https://deno.land/x/esbuild@v0.14.51/mod.js:1354:14
at https://deno.land/x/esbuild@v0.14.51/mod.js:655:9
at handleIncomingPacket (https://deno.land/x/esbuild@v0.14.51/mod.js:752:9)
at readFromStdout (https://deno.land/x/esbuild@v0.14.51/mod.js:621:7)
at https://deno.land/x/esbuild@v0.14.51/mod.js:1880:11
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 8
- Comments: 16 (1 by maintainers)
Also worth noting, once downgraded to Deno 1.32.1, you can upgrade again to 1.32.3 and it still works. @JonatanAlcaraz , @kellenproctor
Some dep must get downloaded in Deno 1.32.1 that is a safe fallback version, so future Deno versions work after it is installed.
For future readers - workaround below:
then
It works now thanks.
Updating Fresh | Fresh docs
Just as an fyi, I had to do a
deno upgrade --version 1.32.1
then
deno task start
in the my project directorythen
deno upgrade
Getting this error on MacOS 10.15 using Deno 1.32.3.
Output of
deno --version
Tried to downgrade via
deno upgrade --version 1.32.2
, and got the same error.Downgraded to 1.32.1 via
deno upgrade --version 1.32.1
and the issue is resolved.New output of
deno --version
@JonatanAlcaraz maybe try downgrading to 1.32.1?
I’m using 1.32.2 with no issues - Windows 11, WSL2, Ubuntu.
@hashrock It works fine now.