Skip to content

[Bug]: 开发版本无法构建[desktop] #3410

@cashZhang27

Description

@cashZhang27

Version line

v2 — Go rewrite (1.x), main-v2 (active development)

Exact version

dev

What happened?

wails build 构建失败

Steps to reproduce

cashZhang@cashZhang MINGW64 /h/workspace/fork/DeepSeek-Reasonix (main-v2)
$ git reset --hard reasonix/main-v2
HEAD is now at 4b81565 fix(desktop): add history filter locale keys (#3408)

cashZhang@cashZhang MINGW64 /h/workspace/fork/DeepSeek-Reasonix (main-v2)
$ git clean -fd

cashZhang@cashZhang MINGW64 /h/workspace/fork/DeepSeek-Reasonix (main-v2)
$ git pull reasonix main-v2
From https://github.com/esengine/DeepSeek-Reasonix

  • branch main-v2 -> FETCH_HEAD
    Already up to date.

cashZhang@cashZhang MINGW64 /h/workspace/fork/DeepSeek-Reasonix (main-v2)
$ cd desktop/

cashZhang@cashZhang MINGW64 /h/workspace/fork/DeepSeek-Reasonix/desktop (main-v2)
$ cd frontend/

cashZhang@cashZhang MINGW64 /h/workspace/fork/DeepSeek-Reasonix/desktop/frontend (main-v2)
$ pnpm install
[WARN] The "pnpm" field in package.json is no longer read by pnpm. The following keys were ignored: "pnpm.overrides". See https://pnpm.io/settings for the new home of each setting.
Already up to date
Done in 430ms using pnpm v11.5.0

cashZhang@cashZhang MINGW64 /h/workspace/fork/DeepSeek-Reasonix/desktop/frontend (main-v2)
$ cd ..

cashZhang@cashZhang MINGW64 /h/workspace/fork/DeepSeek-Reasonix/desktop (main-v2)
$ wails build
Wails CLI v2.12.0

Build Options

Platform(s) | windows/amd64
Compiler | C:\Program Files\Go\bin\go.exe
Skip Bindings | false
Build Mode | production
Devtools | false
Frontend Directory | H:\workspace\fork\DeepSeek-Reasonix\desktop\frontend
Obfuscated | false
Skip Frontend | false
Compress | false
Package | true
Clean Bin Dir | false
LDFlags |
Tags | []
Race Detector | false

Warning: go.mod is using Wails '2.11.0' but the CLI is 'v2.12.0'. Consider updating your project's go.mod file.

Building target: windows/amd64

? Generating bindings: Done.
? Installing frontend dependencies: Done.
? Compiling frontend: Already up to date
Done in 421ms using pnpm v11.5.0
src/locales/en.ts(355,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/en.ts(356,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/en.ts(357,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/en.ts(358,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/en.ts(359,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/en.ts(360,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/en.ts(361,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/en.ts(362,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/en.ts(363,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/en.ts(364,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/zh.ts(356,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/zh.ts(357,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/zh.ts(358,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/zh.ts(359,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/zh.ts(360,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/zh.ts(361,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/zh.ts(362,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/zh.ts(363,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/zh.ts(364,3): error TS1117: An object literal cannot have multiple properties with the same name.
src/locales/zh.ts(365,3): error TS1117: An object literal cannot have multiple properties with the same name.
[ELIFECYCLE] Command failed with exit code 2.

[WARN] The "pnpm" field in package.json is no longer read by pnpm. The following keys were ignored: "pnpm.overrides". See https://pnpm.io/settings for the new home of each setting.
[WARN] The "pnpm" field in package.json is no longer read by pnpm. The following keys were ignored: "pnpm.overrides". See https://pnpm.io/settings for the new home of each setting.
$ tsc --noEmit && vite build

ERROR exit status 2

ERROR exit status 2
? If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony

cashZhang@cashZhang MINGW64 /h/workspace/fork/DeepSeek-Reasonix/desktop (main-v2)

OS / platform

Windows10

Relevant logs or output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdesktopWails desktop app (desktop/**)v2Go rewrite (1.x) — main-v2 branch, active developmentwindowsWindows-specific

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions