Skip to content
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

Cannot find type definition file for 'axe-playwright' #230

Open
MattGurney opened this issue May 6, 2024 · 0 comments
Open

Cannot find type definition file for 'axe-playwright' #230

MattGurney opened this issue May 6, 2024 · 0 comments

Comments

@MattGurney
Copy link

Hi,

Wondering why I am getting this message Cannot find type definition file for 'axe-playwright', presumably there is something wrong with my project setup.

Thanks,
Matt

tsconfig.json

{
  "compilerOptions": {
   ...omitted...
    "types": [
      "axe-playwright"
    ],
   ...omitted...
}
grep axe package.json
    "axe-core": "^4.9.0",
    "axe-playwright": "^2.0.1",
    "axe-html-reporter": "^2.2.3",
yarn list | grep axe
├─ axe-core@4.9.0
├─ axe-html-reporter@2.2.3
├─ axe-playwright@2.0.1
│  ├─ axe-core@^4.5.1
│  ├─ axe-html-reporter@2.2.3
│  ├─ axe-core@=4.7.0
│  ├─ axe-core@4.7.0
│  ├─ axe-core@^4.9.0

VSCode Problem message:

Cannot find type definition file for 'axe-playwright'.
  The file is in the program because:
    Entry point of type library 'axe-playwright' specified in compilerOptions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant