Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Cannot run default project using Deno & and Preact #12389

Open
azroberts8 opened this issue Jan 13, 2025 · 0 comments
Open

[bug] Cannot run default project using Deno & and Preact #12389

azroberts8 opened this issue Jan 13, 2025 · 0 comments
Labels
status: needs triage This issue needs to triage, applied to new issues status: upstream This issue is blocked by upstream dependencies and we need to wait or contribute upstream fixes type: bug

Comments

@azroberts8
Copy link

Describe the bug

After initializing a new project using Preact with Deno as the package manager and runtime, the default project does not run due to missing @babel package.

Screenshot 2025-01-13 at 3 43 47 PM

Reproduction

  1. Initize a new Tauri Preact project using Deno
deno run -A npm:create-tauri-app
✔ Project name · deno-tauri
✔ Identifier · com.azroberts.denotauri
✔ Choose which language to use for your frontend · TypeScript / JavaScript - (pnpm, yarn, npm, deno, bun)
✔ Choose your package manager · deno
✔ Choose your UI template · Preact - (https://preactjs.com/)
✔ Choose your UI flavor · TypeScript
  1. Install dependencies
cd deno-tauri
deno install
  1. Start development server
deno task tauri dev

Expected behavior

Application window shows default application

Full tauri info output

Task tauri tauri "info"

[✔] Environment
    - OS: Mac OS 15.2.0 x86_64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.83.0 (90b35a623 2024-11-26)
    ✔ cargo: 1.83.0 (5ffbef321 2024-10-29)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-apple-darwin (default)
    - node: 23.6.0
    - npm: 10.9.2
    - deno: deno 2.1.5

[-] Packages
    - tauri 🦀: 2.2.2
    - tauri-build 🦀: 2.0.5
    - wry 🦀: 0.48.1
    - tao 🦀: 0.31.1
    - tauri-cli 🦀: 2.2.3
    - @tauri-apps/api : 2.2.0
    - @tauri-apps/cli : 2.2.3 (outdated, latest: 2.2.4)

[-] Plugins
    - tauri-plugin-opener 🦀: 2.2.4
    - @tauri-apps/plugin-opener : 2.2.2 (outdated, latest: 2.2.4)

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite


### Stack trace

_No response_

### Additional context

_No response_
@azroberts8 azroberts8 added status: needs triage This issue needs to triage, applied to new issues type: bug labels Jan 13, 2025
@FabianLars FabianLars added the status: upstream This issue is blocked by upstream dependencies and we need to wait or contribute upstream fixes label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue needs to triage, applied to new issues status: upstream This issue is blocked by upstream dependencies and we need to wait or contribute upstream fixes type: bug
Projects
None yet
Development

No branches or pull requests

2 participants