I am currently facing an issue with implementing Playwright in my project. It seems that Playwright is struggling to a) resolve path aliases and b) it is unable to locate certain npm packages that have been installed.
Here is the structure of my project:
.
├── node_modules
├── package.json
├── playwright.config.ts
├── src
└── tests
└── e2e
└── sign-in.e2e.js
Snippet from the tsconfig.json
file:
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/src/*": ["./src/*"]
}
},