Skip to content

[Bug] Building with repo forking is giving error #1066

@im-n1

Description

@im-n1

Search before asking

  • 我在 issues 列表中搜索,没有找到类似的内容。
    I searched in the issues and found nothing similar.

Pake version

main branch

System version

Ubuntu 24.04.3

Node.js version

v22.20.0

Minimal reproduce step

What did you expect to see?

successful build

What did you see instead?

Compiling tauri-plugin-single-instance v2.3.4
error: proc macro panicked
--> src/lib.rs:109:14
|
109 | .run(tauri::generate_context!())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: message: icon /home/runner/work/Pake/Pake/node_modules/.pnpm/[email protected]/node_modules/pake-cli/src-tauri/png/osm_512.png is not RGBA
error: could not compile pake (lib) due to 1 previous error
failed to build app: failed to build app
Error failed to build app: failed to build app
 ELIFECYCLE  Command failed with exit code 1.
file:///home/runner/work/Pake/Pake/node_modules/.pnpm/[email protected]/node_modules/pake-cli/dist/cli.js:254
throw new Error(errorMsg);
^
Error: Error occurred while executing command "cd "/home/runner/work/Pake/Pake/node_modules/.pnpm/[email protected]/node_modules/pake-cli" && pnpm run build -c "src-tauri/.pake/tauri.conf.json" --features cli-build". Exit code: 1. Details: Command failed with exit code 1: 'cd "/home/runner/work/Pake/Pake/node_modules/.pnpm/[email protected]/node_modules/pake-cli" && pnpm run build -c "src-tauri/.pake/tauri.conf.json" --features cli-build'
at shellExec (file:///home/runner/work/Pake/Pake/node_modules/.pnpm/[email protected]/node_modules/pake-cli/dist/cli.js:254:15)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async LinuxBuilder.buildAndCopy (file:///home/runner/work/Pake/Pake/node_modules/.pnpm/[email protected]/node_modules/pake-cli/dist/cli.js:847:13)
at async LinuxBuilder.build (file:///home/runner/work/Pake/Pake/node_modules/.pnpm/[email protected]/node_modules/pake-cli/dist/cli.js:1240:17)
at async Command. (file:///home/runner/work/Pake/Pake/node_modules/.pnpm/[email protected]/node_modules/pake-cli/dist/cli.js:1897:5)
Node.js v22.20.0
❌ Build failed: Command failed with exit code 1: node dist/cli.js 'https://www.openstreetmap.org/' --name osm --height 780 --width 1200 --targets appimage --show-system-tray
Error: Process completed with exit code 1.

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions