Closed enkot closed 1 year ago
Hmm, I'm running into this when attempting to run playwright tests using nuxt/test-utils in a Github Action.
Hey I am getting the same error with the nuxt/test-utils in the Github Action, but sometimes locally as well.
GetPortError: Timeout waiting for port 38561 after 20 retries with 500ms interval.
❯ Module.waitForPort node_modules/.pnpm/get-port-please@3.1.2/node_modules/get-port-please/dist/index.mjs:348:9
Environment
get-port-please v3.0.1 Node.js v16.20.0
Reproduction
https://stackblitz.com/edit/stackblitz-starters-vdm76f?description=Starter%20project%20for%20Node.js,%20a%20JavaScript%20runtime%20built%20on%20Chrome%27s%20V8%20JavaScript%20engine&file=index.mjs,package-lock.json&title=node.new%20Starter
Describe the bug
I get
when running
await waitForPort()
. It happens on StackBlitz and MacOS 13.5 (Node 16.20.0, 18.16.1 when running Nitro tests).Additional context
No response
Logs
No response