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] Actions单个App打包失败 #921

Open
1 of 2 tasks
sibyl2116 opened this issue Feb 23, 2025 · 0 comments
Open
1 of 2 tasks

[Bug] Actions单个App打包失败 #921

sibyl2116 opened this issue Feb 23, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@sibyl2116
Copy link

sibyl2116 commented Feb 23, 2025

Search before asking

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

Pake version

latest

System version

Github Actions

Node.js version

windows:18.20.6
macos:20.18.1

Minimal reproduce step

使用.github/workflows/pake_build_single_app.yaml生成
我缩减的Windows Action:https://github.com/sibyl2116/Pake/actions/runs/13482200851/job/37668824750
原始的Single Action:https://github.com/sibyl2116/Pake/actions/runs/13482096899/job/37668613702

What did you expect to see?

编译成功

What did you see instead?

[email protected] build:config
chmod +x script/app_config.mjs && node script/app_config.mjs

(node:3576) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use node --trace-warnings ... to show where the warning was created)
URL: https://kimi.moonshot.cn
Icon for kimi not found, will use default icon
NAME: kimi
TITLE: Kimi
NAME_ZH: Kimi
node:fs:3031
src = getValidatedPath(src, 'src');
^

TypeError [ERR_INVALID_ARG_TYPE]: The "src" argument must be of type string or an instance of Buffer or URL. Received undefined
at copyFileSync (node:fs:3031:9)
at updateIconFile (file:///Users/runner/work/Pake/Pake/script/app_config.mjs:137:5)
at file:///Users/runner/work/Pake/Pake/script/app_config.mjs:89:1
at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:473:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:122:5) {
code: 'ERR_INVALID_ARG_TYPE'
}

Node.js v20.18.1

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@sibyl2116 sibyl2116 added the bug Something isn't working label Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant