-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REGRESSION]: TypeError [ERR_INVALID_ARG_TYPE]
when running playwrite with node 20.6.1
#29253
Comments
Looks like this was about a Node.js bug which was fixed in a recent 20.x release, e.g. v20.11.0 (latest 20.x). I was able to reproduce in v20.6.1 but not in v20.11.0. Closing since we only support the latest minor/patch releases of Node.js versions. |
Facing this issue with v20.10.0, anything we are missing? |
works for me with node v 20.9 you can install this node version and then use command this works for me but only within the current shell |
I'm getting the same error with every node version I have tried. TypeError [ERR_INVALID_ARG_TYPE]: The "parentURL" argument must be of type string or an instance of URL. Received an instance of Object |
ChristiansGithubID : Is your issue resolved? |
Node v20.12.1 doesn't have this bug. This comment helped me to fix it: #30217 (comment) I could reproduce it on v20.6.0 (over nvm) |
Fixes problem with Playwright, see microsoft/playwright#29253
microsoft/playwright#29253 と同じ現象と同じエラーが発生したので
I keep getting the same error TypeError [ERR_INVALID_ARG_TYPE]: The "parentURL" argument must be of type string or an instance of URL. Received an instance of Object |
@Pizle0210 we recommend updating to latest Node.js. |
I have and it worked |
Context:
1.30.0
1.41.0
20.6.1
Describe the bug
I'm getting this error when trying to run the tests in https://github.com/sveltejs/kit
I guess the changes in #28526 are the source of this bug.
It works when upgrading to Node
21.6.1
.The text was updated successfully, but these errors were encountered: