`Uncaught TypeError: callback is not a function` On clean Fresh init project
I've just initialised a new Fresh project with
deno run -Ar jsr:@fresh/init . I have made no changes to the newly initialised project yet. upon running deno task dev I see the following output:
These files seem to be core to Deno itself, they aren't included in my source as far as I can tell.4 Replies
This maybe an outdated Deno cache, try this first inside the example app:
Otherwise I use example Fresh apps constantly and they all work (until I break them on purpose).
Also make sure you are on the latest Deno version, e.g. upgrade with:
after running
deno install -r --allow-scripts I get the same error:
This is a brand new installation of Deno 2.5.0 on Nobara Linux via the install script. I've also tried uninstalling and reinstalling via Nix and get the same result.
Looks like switching to the canary build with:
fixes this problem, see this comment -> https://github.com/denoland/fresh/issues/3432#issuecomment-3291250105
YES IT DOES! Thank you, just my luck to start working with a tool while there's a bug like this on the main release 😂