The complete load testing platform. Everything you need for production-grade load tests. Serverless & distributed. Load test with Playwright. Load test HTTP APIs, GraphQL, WebSocket, and more. Use any Node.js module.
I am using artillery with playwright and TS, I am using the latest version but I am getting this compilation error:
Any clue?
Error: Failed to compile Typescript processor
Build failed with 2 errors:
node_modules/playwright/node_modules/playwright-core/lib/server/bidi/bidiOverCdp.js:7:49: ERROR: Could not resolve "chromium-bidi/lib/cjs/bidiMapper/BidiMapper"
node_modules/playwright/node_modules/playwright-core/lib/server/bidi/bidiOverCdp.js:8:56: ERROR: Could not resolve "chromium-bidi/lib/cjs/cdp/CdpConnection"
at replaceProcessorIfTypescript
Node.js v20.11.1
Test run id: td5qe_gqd6z9mdcjhh7a63qa6wmttmqeyzk_46pt
▲ [WARNING] "./chromium/appIcon.png" should be marked as external for use with "require.resolve" [require-resolve-not-external]
node_modules/playwright/node_modules/playwright-core/lib/server/launchApp.js:63:67:
63 │ ...ault.promises.readFile(require.resolve('./chromium/appIcon.png'));
╵ ~~~~~~~~~~~~~~~~~~~~~~~~
✘ [ERROR] Could not resolve "chromium-bidi/lib/cjs/bidiMapper/BidiMapper"
node_modules/playwright/node_modules/playwright-core/lib/server/bidi/bidiOverCdp.js:7:49:
7 │ ...reWildcard(require("chromium-bidi/lib/cjs/bidiMapper/BidiMapper"));
I am using artillery with playwright and TS, I am using the latest version but I am getting this compilation error: Any clue?