https://github.com/denoland/fresh/pull/3524 unfortunately introduced a regression in the init script which breaks it. This was caused by two independent problems: 1. Only files reachable in the module graph are published, meaning the templates itself weren't published to JSR 2. When publishing to JSR all specifiers become `https://` internally which breaks doing path operations like `path.resolve()`, `path.relative()` and all others. This is something that cannot be tested locally in advance Addressing these is going to require a bit of work. The quickest way to get init working again is to revert it.
11 lines
244 B
Markdown
11 lines
244 B
Markdown
# Create a new Fresh project.
|
|
|
|
This is a CLI tool to bootstrap a new Fresh project. To do so, run this command:
|
|
|
|
```sh
|
|
deno run -Ar jsr:@fresh/init
|
|
```
|
|
|
|
Go to [https://fresh.deno.dev/](https://fresh.deno.dev/) for more information
|
|
about Fresh.
|