Trying to initialize a new project fails.
deno run -Ar jsr:@fresh/init@2.0.0-alpha.30
Produces error:
error: Uncaught (in promise) TypeError: Must be a file URL
await Deno.readFile(
^
at pathFromURL (ext:deno_web/00_infra.js:428:13)
at Object.readFile (ext:deno_fs/30_fs.js:755:7)
at initProject (https://jsr.io/@fresh/init/2.0.0-alpha.30/src/init.ts:397:16)
at eventLoopTick (ext:core/01_core.js:178:7)
at async https://jsr.io/@fresh/init/2.0.0-alpha.30/src/mod.ts:19:3
This seems to be caused by #2867, since the /www folder won't exist when @fresh/init runs.
Suggestions
Maybe just revert #2867, or create a /init/src/assets folder that either symlinks to the favicon, or is a copy of it?
Trying to initialize a new project fails.
Produces error:
This seems to be caused by #2867, since the
/wwwfolder won't exist when@fresh/initruns.Suggestions
Maybe just revert #2867, or create a
/init/src/assetsfolder that either symlinks to the favicon, or is a copy of it?