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

artillery-engine-processor could not be loaded #2569

Closed
evan-easygo opened this issue Mar 13, 2024 · 0 comments
Closed

artillery-engine-processor could not be loaded #2569

evan-easygo opened this issue Mar 13, 2024 · 0 comments

Comments

@evan-easygo
Copy link

Version info:

Artillery: 2.0.7
Node.js:   v19.9.0
OS:        darwin

I have multiple node versions but currently points to v19.9.0

Running this command:

artillery run hello-world.yml

I expected to see this happen:
There shouldn't be any errors

Instead, this happened:
I get the error:

WARNING: engine processor specified but module artillery-engine-processor could not be loaded
Error: Cannot find module 'artillery-engine-processor'
Require stack:
- /Users/nnn/.nvm/versions/node/v19.9.0/lib/node_modules/artillery/node_modules/@artilleryio/int-core/lib/runner.js
- /Users/nnn/.nvm/versions/node/v19.9.0/lib/node_modules/artillery/node_modules/@artilleryio/int-core/index.js
- /Users/nnn/.nvm/versions/node/v19.9.0/lib/node_modules/artillery/lib/artillery-global.js
- /Users/nnn/.nvm/versions/node/v19.9.0/lib/node_modules/artillery/lib/platform/local/worker.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1090:15)
    at Module._load (node:internal/modules/cjs/loader:934:27)
    at Module.require (node:internal/modules/cjs/loader:1157:19)
    at require (node:internal/modules/helpers:119:18)

Files being used:

config:
  target: https://www.artillery.io
  engines:
    playwright: {}
    processor: './tests/load/helloWorld.spec.ts'
scenarios:
  - engine: playwright
    testFunction: 'helloFlow'
import { type Page } from '@playwright/test';

async function helloFlow(page: Page) {
  await page.goto('https://www.artillery.io/');
}
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