size-limit icon indicating copy to clipboard operation
size-limit copied to clipboard

Timed out after 30000 ms while trying to connect to the browser

Open unional opened this issue 3 years ago • 4 comments

This is related to: https://github.com/ai/size-limit/issues/209

It fails intermittently. This one fails on Windows, node 14:

@mocktomata/framework:size: TimeoutError: Timed out after 30000 ms while trying to connect to the browser! Only Chrome at revision r982053 is guaranteed to work.
@mocktomata/framework:size:     at Timeout.onTimeout (D:\a\mocktomata\mocktomata\node_modules\.pnpm\[email protected]\node_modules\puppeteer-core\lib\cjs\puppeteer\node\BrowserRunner.js:252:20)
@mocktomata/framework:size:     at listOnTimeout (internal/timers.js:557:17)
@mocktomata/framework:size:     at processTimers (internal/timers.js:500:7)
@mocktomata/framework:size: ✖ Running JS in headless Chrome
@mocktomata/framework:size:  ERROR  TypeError: Cannot read property 'javaScript' of undefined
@mocktomata/framework:size:     at getTime (D:\a\mocktomata\mocktomata\node_modules\.pnpm\@[email protected][email protected]\node_modules\@size-limit\time\get-running-time.js:29:22)

https://github.com/mocktomata/mocktomata/actions/runs/3248959225/jobs/5330798275

I notice it is using [email protected]

Maybe updating it to 19 would help?

Yes, this is an issue with https://github.com/mbalabash/estimo

Will create an issue there to link and track. thx

unional avatar Oct 15 '22 21:10 unional

I can only wait a reply from estimo maintainer

ai avatar Oct 15 '22 21:10 ai

No problem, just also adding the issue here so that other people can find this issue.

You can add an external dependency label to the issue if you want to track it. 🌷

unional avatar Oct 15 '22 22:10 unional

Hey @ai Is it possible to break compatibility with node-12 in estimo? Do you still support it in size-limit?

mbalabash avatar Oct 17 '22 06:10 mbalabash

Yes, Size Limit requires Node JS >= 14.

ai avatar Oct 17 '22 09:10 ai