-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[BUG] Wrong webstorm types #15650
Comments
Looks like the same problem as in #2268 and if I understand it correctly WebStorm will not parse types from playwright-core by default since it is not a direct dependency of your project but a package that @playwright/core depends on. So un-excluding node_modules/playwright-core in WebStorm setting should help, did you try that? |
hi @yury-s it does not seem to be the same. I've installed |
"So un-excluding node_modules/playwright-core in WebStorm setting should help, did you try that?" - did you try this?
You should not have playwright-core in your dependencies as @playwright/test will bring it in automatically. Can you share a project where it happens? |
We have to reproduce this issue locally to be able to debug it. If you can provide a full repro, please file a new issue with it, and link to this one. |
Context:
"@playwright/test": "^1.22.0"
Describe the bug
Types do not work in webstorm. They work in VSCode.
Could be related: #2268
But I've tried the solutions proposed in that issue without success.
The text was updated successfully, but these errors were encountered: