Description
Search before asking
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!
Activity