question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

🐛 BUG: pages publish very slow / crashing

See original GitHub issue

What version of Wrangler are you using?

2.0.8

What operating system are you using?

Mac

Describe the Bug

I’m trying to upload my site, it’s about 300MB, it uploads to KV fine with wrangler 1

When I upload to pages with wrangler 2 it goes reaaallly slow and then crashes

▲ [WARNING] Warning: Your working directory is a git repo and has uncommitted changes

  To silence this warning, pass in --commit-dirty=true


🌍  Uploading... (809/8009)

/usr/local/lib/node_modules/wrangler/wrangler-dist/cli.js:16264
            throw ex;
            ^

FatalError: Failed to upload files. Please try again.
    at /usr/local/lib/node_modules/wrangler/wrangler-dist/cli.js:123689:31
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async run2 (/usr/local/lib/node_modules/wrangler/wrangler-dist/cli.js:122127:26) {
  code: 1
}

I posted it on discord https://discord.com/channels/595317990191398933/799437470004412476/983442112534175815

If I try to upload it via web it errors telling me not to upload more than 1000 files. If I zip it it says the zip is too big. I don’t see a way to upload a zip file with the CLI. No idea how to get my files into Pages.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:20 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
sidharthachatterjeecommented, Jun 7, 2022

Hey there! Sorry to hear this. What you’re describing with the dashboard is expected (we’ll be bumping that up soon).

What you’re seeing with wrangler however is a bug. Our hypothesis is that your auth token is expiring during the upload because of low upload bandwidth? I’ve opened a PR with a fix for this.

Can you try this version of wrangler and let us know if it helps?

npx https://prerelease-registry.developers.workers.dev/runs/2455435541/npm-package-wrangler-1199 dev path/to/script.js

Cheers.

1reaction
GregBrimblecommented, Jul 6, 2022

Ah, okay, thanks for that additional info! Absolutely feel free to put up whatever you have right now and we can help get it over the line 😊

Read more comments on GitHub >

github_iconTop Results From Across the Web

iWeb Crashes on Publish - Apple Community
I seem to be crashing less, but I get lots of error messages such as "Publish Error" and "the .Mac servers are busy."...
Read more >
Publish to ROBLOX As... is very slow and often closes itself
Just opening the "Publish to Studio As..." dialog takes an entire minute. (Mind, this is for a nearly empty place) Here is the...
Read more >
Indesign incredibly slow or crashes with more than one ...
I'm almost always working with more than one document open (such as in InDesign Book files with multiple chapters). As noted in the...
Read more >
publish very slow and crashes the website - Our Umbraco
First issue is that IContent.Publish action is very slow. I have a number of functionality which does publish content to umbraco eg. in...
Read more >
Crash troubleshooting - Grindr Help Center
Is the app crashing? Freezing? Profiles not loading in the Grid? Check out our troubleshooting steps below to get things running smoothly...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found