exhibitionist-digital / ultra

Zero-Legacy Deno/React Suspense SSR Framework
https://ultrajs.dev
MIT License
2.99k stars 65 forks source link

quick start fails to run #256

Closed scarf005 closed 1 year ago

scarf005 commented 1 year ago

steps to reproduce

  1. follow basic steps in https://ultrajs.dev/create-project
~/r/e/learn  deno run -A -r https://deno.land/x/ultra/create.ts basic                                                  2023년 06월 24일 (토) 오후 12시 14분 22초
Warning Implicitly using latest version (v2.2.2) for https://deno.land/x/ultra/create.ts
Warning Implicitly using latest version (v0.3.0) for https://deno.land/x/color/mod.ts

▄• ▄▌▄▄▌  ▄▄▄▄▄▄▄▄   ▄▄▄· 
█▪██▌██•  •██  ▀▄ █·▐█ ▀█ 
█▌▐█▌██▪   ▐█.▪▐▀▀▄ ▄█▀▀█ 
▐█▄█▌▐█▌▐▌ ▐█▌·▐█•█▌▐█ ▪▐▌
 ▀▀▀ .▀▀▀  ▀▀▀ .▀  ▀ ▀  ▀

Welcome to Ultra

Let's get you setup with your new Ultra project.

What is the name of your project? 

Do you want to use TypeScript? [y/n] y
✔️  Created: /home/scarf/repo/etc/learn/my-ultra-app/deno.json
✔️  Created: /home/scarf/repo/etc/learn/my-ultra-app/importMap.json
✔️  Created: /home/scarf/repo/etc/learn/my-ultra-app/build.ts
✔️  Created: /home/scarf/repo/etc/learn/my-ultra-app/client.tsx
✔️  Created: /home/scarf/repo/etc/learn/my-ultra-app/server.tsx
✔️  Created: /home/scarf/repo/etc/learn/my-ultra-app/src/app.tsx
✔️  Created: /home/scarf/repo/etc/learn/my-ultra-app/public/style.css
✔️  Fetched: https://raw.githubusercontent.com/exhibitionist-digital/ultra/main/examples/basic/public/favicon.ico
✔️  Created: /home/scarf/repo/etc/learn/my-ultra-app/public/favicon.ico
✔️  Fetched: https://raw.githubusercontent.com/exhibitionist-digital/ultra/main/examples/basic/public/robots.txt
✔️  Created: /home/scarf/repo/etc/learn/my-ultra-app/public/robots.txt
error: unrecognized subcommand 'deno'

  tip: a similar subcommand exists: 'vendor'
  tip: to pass 'deno' as a value, use 'deno -- deno'

Usage: deno [OPTIONS] [COMMAND]

For more information, try '--help'.

Your new Ultra project is ready, you can now cd into "my-ultra-app" and run deno task dev to get started!
 ~/r/e/learn  cd my-ultra-app/                                                                                   6.2s  2023년 06월 24일 (토) 오후 12시 14분 39초
 ~/r/e/l/my-ultra-app  deno task dev                                                                                    2023년 06월 24일 (토) 오후 12시 14분 47초
Task dev deno run -A --no-check --watch ./server.tsx
Watcher Process started.
[ultra] - INFO Loading compiler
error: Uncaught (in promise) TypeError: Import 'https://esm.sh/v103/@import-maps/resolve@1.0.1/resolve.js' failed: 500 Internal Server Error
    at https://deno.land/x/mesozoic@v1.3.2/lib/deps.ts:19:8
    const { compiler } = await import("./middleware/compiler.ts");
                         ^
    at async createServer (https://deno.land/x/ultra@v2.2.1/lib/server.ts:93:26)
    at async file:///home/scarf/repo/etc/learn/my-ultra-app/server.tsx:16:18
Watcher Process failed. Restarting on file change...

System configuration

OS: Ubuntu 23.04 Deno: v1.34.3