Skip to content

ArtilleryBin path seems to be wrong #11

@mframos3

Description

@mframos3

Hi, when trying to run npx easygraphql-lt myconfig.json I've encountered the following error:

/bin/sh: /Users/matiasramos/Documents/load-test/node_modules/easygraphql-lt/node_modules/.bin/artillery: No such file or directory

loadTesting.js (Line 55) tries to get the artilleryBin from easygraphql-lt/node_modules/.bin instead from <projectRoot>/node_modules/.bin. By modyfing the path in order to get the bin of the project's node_modules I was able to get this working.

Don't know if I'm missing out on some npm configuration in order to make this work by default or if it's actually something that needs to be changed.

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