Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Trying to use but getting "Module not found" error #1

@babyhuey

Description

@babyhuey

plugins: dynamodb: table: "artillery" createTable: true

WARNING: Plugin dynamodb specified but module artillery-plugin-dynamodb could not be found (MODULE_NOT_FOUND)

DEBUG=* artillery run listening.yaml
runner require paths: [ '' ] +0ms runner Error: Cannot find module 'debug' runner Require stack: runner - /usr/lib/node_modules/artillery-plugin-dynamodb/lib/dynamodb.js runner - /usr/lib/node_modules/artillery-plugin-dynamodb/index.js runner - /usr/lib/node_modules/artillery/core/lib/runner.js runner - /usr/lib/node_modules/artillery/lib/util.js runner - /usr/lib/node_modules/artillery/util.js runner - /usr/lib/node_modules/artillery/bin/artillery runner at Function.Module._resolveFilename (internal/modules/cjs/loader.js:893:15) runner at Function.Module._load (internal/modules/cjs/loader.js:743:27) runner at Module.require (internal/modules/cjs/loader.js:965:19) runner at require (internal/modules/cjs/helpers.js:88:18) runner at Object.<anonymous> (/usr/lib/node_modules/artillery-plugin-dynamodb/lib/dynamodb.js:4:15) runner at Module._compile (internal/modules/cjs/loader.js:1076:30) runner at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10) runner at Module.load (internal/modules/cjs/loader.js:941:32) runner at Function.Module._load (internal/modules/cjs/loader.js:782:14) runner at Module.require (internal/modules/cjs/loader.js:965:19) +2ms WARNING: Plugin dynamodb specified but module artillery-plugin-dynamodb could not be found (MODULE_NOT_FOUND) runner run() with: {"config":{"target":"https://xxxxxxxxxxxx, http":{"timeout":120},"plugins":{"dynamodb":{"table":"artillery","createTable":true}},"processor":{},"phases":[{"duration":10,"arrivalRate":1}],"defaults":{"headers":{"Content-Type":"application/json","accept":"application/json"}},"statsInterval":10,"payload":[]},"scenarios":[{"flow":[{"post":{"url":"/authToken","json":{"clientId":"","clientSecret":""},"capture":{"json":"$.accessToken","as":"token"}}}]}],"payload":[]} +1ms
Not really even sure if this plugin is still supported

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions