tauri-apps / tauri

Build smaller, faster, and more secure desktop applications with a web frontend.
https://tauri.app
Apache License 2.0
78.53k stars 2.33k forks source link

[bug] window not build success and it hold on "Finished dev [unoptimized + debuginfo]" #9746

Closed songjiachao closed 1 week ago

songjiachao commented 3 weeks ago

Describe the bug

iShot_2024-05-11_15 36 57

Reproduction

No response

Expected behavior

No response

Full tauri info output

PS C:\Users\72185664\Desktop\code\fun-family\desktop> cargo tauri info

[✔] Environment
    - OS: Windows 10.0.19045 X64
    ✔ WebView2: 124.0.2478.97
    ✔ MSVC: Visual Studio 生成工具 2022
    ✔ rustc: 1.78.0 (9b00956e5 2024-04-29)
    ✔ cargo: 1.78.0 (54d8815d0 2024-03-26)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN)
    - node: 20.13.1
    - pnpm: 9.1.0
    - npm: 10.5.2

[-] Packages
    - tauri [RUST]: 2.0.0-beta.19
    - tauri-build [RUST]: 2.0.0-beta.15
    - wry [RUST]: 0.39.5
    - tao [RUST]: 0.28.0
    - tauri-cli [RUST]: 2.0.0-beta.17
    - @tauri-apps/api [NPM]: 2.0.0-beta.8
    - @tauri-apps/cli [NPM]: 2.0.0-beta.17

[-] App
    - build-type: bundle
    - CSP: img-src  'self' asset: http://asset.localhost blob: data: https: http://api.iconify.design http://fun.vmic.xyz; style-src 'unsafe-inline' 'self' https://fonts.googleapis.com; connect-src ipc: http://ipc.localhost http://jiuwen-api.vmic.xyz http://dfun.vmic.xyz http://asset.localhost http: ws: https:; object-src 'self' asset: http://asset.localhost; frame-src https: asset: http://asset.localhost; script-src 'unsafe-eval' 'self'; media-src https://h5-inside.vmic.xyz/fun/assets/why-fun.mp4; default-src 'self' customprotocol: asset:; font-src https://fonts.gstatic.com 'self' asset: http://asset.localhost
    - frontendDist: ../dist
    - devUrl: http://127.0.0.1:1420/
    - framework: React (Next.js)
    - bundler: Vite

Stack trace

No response

Additional context

No response

songjiachao commented 3 weeks ago

image

cargo create-tauri-app --beta

blank page,and cannot be close