Closed adriantrunzo closed 2 weeks ago
I was about to submit an issue for the exact same error.
Workaround Pin version to cloudflare/wrangler-action@v3.9.0
What we tried
Pinning wranglerVersion
only to 3.78.10
in order to get around the DEFAULT_WRANGLER_VERSION
bump but that did not work.
https://github.com/cloudflare/wrangler-action/pull/303/files#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80L19
Which points to the issue being in the action only as @adriantrunzo mentioned https://github.com/cloudflare/wrangler-action/commit/3ec7f8943ef83351f743cfaa8763a9056ef70993#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80R317
Thanks for sharing what you tried @JadCham. I tried with the latest version of wrangler
, 3.12.0, in addition to an older one like you did.
I can also confirm that pinning the version to 3.9.0 is the workaround.
Running into this issue with self-hosted runner's as well.
🚀 Running Wrangler Commands
/home/runner/_work/_tool/node/18.20.4/x64/bin/npx wrangler pages deploy --project-name=kubernetes-schemas --branch main .
✘ [ERROR] EACCES: permission denied, mkdir '/opt/wranglerArtifacts'
+1
+1
Updated to v3.11.0, issue "fixed"
GG
Hello @adriantrunzo , @JadCham @kashalls . Would you be able confirm that the latest release 3.12.0
works for you?
Hello @adriantrunzo , @JadCham @kashalls . Would you be able confirm that the latest release
3.12.0
works for you?
I had a successful run on 3.12.0
Description
I've started seeing the following failures with the latest release:
The failures started at the same time as the 3.10.0 release. Indeed, that release references the
/opt/wranglerArtifacts
directory: https://github.com/cloudflare/wrangler-action/commit/3ec7f8943ef83351f743cfaa8763a9056ef70993#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80R317.I do not have the ability to change permissions in these runners. Setting
WRANGLER_OUTPUT_FILE_DIRECTORY
didn't have any effect.Expected Behavior
No failure.
Possible Solution
WRANGLER_OUTPUT_FILE_DIRECTORY