I wanted to create a new project with Deno + Fresh, and I had some issues.
1. the message after init does not indicate to run deno install;
I think it will be easier for newcomers to indicates all required commands.
Here, if I follow the initialization message:
Project initialized!
Enter your project directory using cd fresh-project.
Run deno task dev to start the project. CTRL-C to stop.
Stuck? Join our Discord https://discord.gg/deno
Happy hacking! 🦕
I should only run deno task dev, but if I only run this, I get a vite: command not found.
Maybe the initialization message miss deno install indication?
2. installing dependencies is not working
If I run deno install, I get this error message:
error: The Wasm module could not be parsed: not a Wasm module
Specifier: https://jsr.io/@deno/loader/0.3.6/src/lib/rs_lib.wasm
3. Error running deno task dev
It may be linked to the error 2, but I also tried to run deno task dev and I got this:
failed to load config from /tmp/fresh-test/fresh-project/vite.config.ts
error when starting dev server:
Error: Cannot find module '@fresh/plugin-vite'
Require stack:
- /tmp/fresh-test/fresh-project/vite.config.ts
- /tmp/fresh-test/fresh-project/node_modules/.deno/vite@7.1.7/node_modules/vite/dist/node/chunks/dep-Bm2ujbhY.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)
at Module._load (node:internal/modules/cjs/loader:1038:27)
at Module.require (node:internal/modules/cjs/loader:1289:19)
at require (node:internal/modules/helpers:182:18)
at Object.<anonymous> (/tmp/fresh-test/fresh-project/vite.config.ts:26:26)
at Module._compile (node:internal/modules/cjs/loader:1521:14)
at _require.extensions.<computed> [as .js] (file:///tmp/fresh-test/fresh-project/node_modules/.deno/vite@7.1.7/node_modules/vite/dist/node/chunks/dep-Bm2ujbhY.js:36240:44)
at Module.load (node:internal/modules/cjs/loader:1266:32)
at Module._load (node:internal/modules/cjs/loader:1091:12)
at Module.require (node:internal/modules/cjs/loader:1289:19)
Can you help me?
Project creation as gif (if it can help):

I wanted to create a new project with Deno + Fresh, and I had some issues.
1. the message after init does not indicate to run
deno install;I think it will be easier for newcomers to indicates all required commands.
Here, if I follow the initialization message:
I should only run
deno task dev, but if I only run this, I get avite: command not found.Maybe the initialization message miss
deno installindication?2. installing dependencies is not working
If I run
deno install, I get this error message:3. Error running
deno task devIt may be linked to the error 2, but I also tried to run
deno task devand I got this:Can you help me?
Project creation as gif (if it can help):