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.

[Question] Error: Timed out waiting 60000ms from config.webServer.

See original GitHub issue

I have playwright.config.ts as following with SvelteKit:

import type { PlaywrightTestConfig } from '@playwright/test';

const config: PlaywrightTestConfig = {
	fullyParallel: true,
	webServer: {
		command: 'npm run build && npm run preview',
		port: 4173
	}
};

export default config;

I got an error Error: Timed out waiting 60000ms from config.webServer., so I set timeout with different values, but I keep getting the same error.

I tried globalTimeout but the it returns the same error.

How to solve this error?

image

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
yury-scommented, Aug 25, 2022

Apparently your server doesn’t start or listens to a different port (not 4173). What does npm run build && npm run preview do, can you share the code?

0reactions
yury-scommented, Aug 30, 2022

We need more information to act on this report. Please file a new one and link to this issue when you get back to it!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Full Migration Error: Timed out after 60000 ms while waiting to ...
Solution · Check whether the destination database is running properly. · Check whether packet loss or retransmission occurs on the network between ...
Read more >
playwright is supposed to start the node server before it tests ...
When I run tests with this code in playwright.config.ts (and no other server running), I get the following error (inconsistently--sometimes ...
Read more >
Timed out after 30000 ms while waiting for a server that ...
If yes, then this is a typical timeout error that is shared across all official drivers, where it tries to connect to the...
Read more >
Advanced: configuration | Playwright - CukeTest
This file will be required and run after all the tests. It must export a single function. globalTimeout: number - Total timeout in...
Read more >
Apache Kafka is not available message is displayed in the ...
ZooKeeperClientTimeoutException: Timed out waiting for connection while in ... show messages ( sames messages than for Problem #2 ) like the following:
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