Skip to content

[bug] Execute 'tauri build' command, stuck in 'running light to produce' for a long time without results #3399

@tomgao365

Description

@tomgao365

Describe the bug

Execute the tauri build command, the console has been stuck at ' running light to produce' for a long time and is not responding。

I am using the project initialized with yarn create tauri-app with no other modifications.

run yarn tarui build

PS D:\Work\temp\tauri-app> yarn tauri build
yarn run v1.22.17
$ tauri build
   Compiling app v0.1.0 (D:\Work\temp\tauri-app\src-tauri)
    Finished release [optimized] target(s) in 13.08s
info: Target: x64
info: trying to sign app
info: running candle for "main.wxs"
info: running candle.exe
info: running light to produce D:\Work\temp\tauri-app\src-tauri\target\release\bundle/msi/atom-tool_0.1.0_x64_en-US.msi

run yarn tarui build --debug

PS D:\Work\temp\tauri-app> yarn tauri build --debug
yarn run v1.22.17
$ tauri build --debug
   Compiling app v0.1.0 (D:\Work\temp\tauri-app\src-tauri)
    Finished dev [unoptimized + debuginfo] target(s) in 2.61s
info: Target: x64
info: trying to sign app
info: running candle for "main.wxs"
info: running candle.exe
info: running light to produce D:\Work\temp\tauri-app\src-tauri\target\debug\bundle/msi/atom-tool_0.1.0_x64_en-US.msi

Reproduction

No response

Expected behavior

No response

Platform and versions

run `yarn tauri info`


Operating System - Windows, version 10.0.19044 X64
Webview2 - 98.0.1108.43
Visual Studio Build Tools:        
   - Visual Studio ���ɹ��� 2019   
   - Visual Studio Enterprise 2022

Node.js environment
  Node.js - 14.19.0
  @tauri-apps/cli - 1.0.0-rc.0
  @tauri-apps/api - 1.0.0-rc.0

Global packages
  npm - 6.14.16
  pnpm - 6.30.1
  yarn - 1.22.17

Rust environment
  rustc - 1.58.1
  cargo - 1.58.0

Rust environment
  rustup - 1.24.3
  rustc - 1.58.1
  cargo - 1.58.0
  toolchain - stable-x86_64-pc-windows-msvc 

App directory structure
/.history
/.vscode
/dist
/node_modules
/public
/src
/src-tauri

App
  tauri.rs - 1.0.0-rc.0
  build-type - bundle
  CSP - default-src 'self'
  distDir - ../dist
  devPath - http://localhost:3000/
  framework - Vue.js


Computer:
AMD 5800X + AMD Radeon RX550 + 32G

Stack trace

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions