Rafat Rashid
Rafat Rashid
I am using the @playwright/test package as well with playwright-lighthouse and getting the same type of error: ``` Error: require() of ES Module /node_modules/playwright-lighthouse/index.js from /packages/integration-tests/src/tests/audit.spec.ts not supported. Instead change...
As suggested on the stackoverflow link provided on https://github.com/abhinaba-ghosh/playwright-lighthouse/issues/45, adding: ``` "type": "module", ``` to my package.json solved the issue.
Ah. Recently bumped the graphql package from v15 to v16 and seeing the same issue. My packages: ``` "graphql": "16.6.0", "@graphql-codegen/cli": "3.3.0", "@graphql-codegen/near-operation-file-preset": "^2.5.0", "@graphql-codegen/typescript-compatibility": "^2.1.5", "@graphql-codegen/typescript-operations": "^3.0.3", ``` The...