On a type = "webpack" always installs wasm-pack (referenced previous #137 #849), it is not worrying, though the trouble is the download fails every other Push on CI/CD.
The issue might reside with the worker that manipulates https://workers.cloudflare.com/get-binary/rustwasm/wasm-pack/v0.8.1/x86_64-unknown-linux-musl.tar.gz
Fetch for AWS S3 and does not benefit from Cache API, my suggestion AWS S3 鉃★笍Worker KV (maybe expire key) 鉃★笍Cache API.
At the moment it is always returning header CF-Cache-Status: MISS
GitHub Actions Ubuntu
Run wrangler build
Run wrangler build
猬囷笍 Installing wranglerjs...
npm WARN deprecated [email protected]: One of your dependencies needs to upgrade to fsevents v2: 1) Proper nodejs v10+ support 2) No more fetching binaries from AWS, smaller package size
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 323 packages from 198 contributors and audited 4225 packages in 7.66s
found 0 vulnerabilities
猬囷笍 Installing wasm-pack...
Built successfully, built project size is 75 KiB.
Run wrangler build
猬囷笍 Installing wranglerjs...
npm WARN deprecated [email protected]: One of your dependencies needs to upgrade to fsevents v2: 1) Proper nodejs v10+ support 2) No more fetching binaries from AWS, smaller package size
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 323 packages from 198 contributors and audited 4225 packages in 11.351s
found 0 vulnerabilities
Error: could not download pre-built `wasm-pack` (failed to download from https://workers.cloudflare.com/get-binary/rustwasm/wasm-pack/v0.8.1/x86_64-unknown-linux-musl.tar.gz).
##[error]Process completed with exit code 1.
Hi, thanks for the repo.
@EverlastingBugstopper is working on a fix
+1 for this. Builds could be sooooo much faster if it didn't install wasm-pack every time I published :P
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am using wrangler in GitHub Action, with action/cache and "npx wrangler" the process speeds up a bit. Installing wranglerjs every and deploy is counterproductive in a CI/CD workflow.
this issue was solved a while ago with #1344
Most helpful comment
Hi, thanks for the repo.
@EverlastingBugstopper is working on a fix