cloudflare / pages-action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed runs-on windows-latest with node 18/20. But node 16 works fine.

xsw300 opened this issue · comments

npm WARN exec The following package was not found and will be installed: wrangler@3.49.0
npm WARN deprecated rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
npm notice
npm notice New patch version of npm available! 10.5.0 -> 10.5.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.5.2
npm notice Run npm install -g npm@10.5.2 to update!
npm notice
npm ERR! code ERR_INVALID_ARG_TYPE
npm ERR! The "file" argument must be of type string. Received undefined

npm ERR! A complete log of this run can be found in: C:\Users\runneradmin\npm-cache_logs\2024-04-11T09_46_28_766Z-debug-0.log
EXIT WHEN NOT EXPECTED

SHELLAC COMMAND FAILED!
node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#".] {
code: 'ERR_UNHANDLED_REJECTION'
}
Executing: npx wrangler@3 pages publish "./" --project-name="kickcatchfish" --branch="" in D:\a\DodoFish\DodoFish

STDOUT:

STDERR:

npm WARN exec The following package was not found and will be installed: wrangler@3.49.0
npm WARN deprecated rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
npm notice
npm notice New patch version of npm available! 10.5.0 -> 10.5.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.5.2
npm notice Run npm install -g npm@10.5.2 to update!
npm notice
npm ERR! code ERR_INVALID_ARG_TYPE
npm ERR! The "file" argument must be of type string. Received undefined

npm ERR! A complete log of this run can be found in: C:\Users\runneradmin\npm-cache_logs\2024-04-11T09_46_28_766Z-debug-0.log