Skip to content

Unable to execute test cases in parallel #20

Open
@Zarmeena

Description

@Zarmeena

While trying to execute the test cases in parallel mode using 'npm run parallel' command , we are getting the following error:

throw er; // Unhandled 'error' event
^
Error: spawn /usr/bin/env ENOENT
at _errnoException (util.js:1003:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:201:19)
at onErrorNT (internal/child_process.js:389:16)
at process._tickCallback (internal/process/next_tick.js:152:19)
at Function.Module.runMain (module.js:703:11)
at startup (bootstrap_node.js:193:16)
at bootstrap_node.js:617:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] parallel: cross-env CONFIG_FILE=parallel ./scripts/cucumber-runner.js features/single.feature
npm ERR! Exit status 1

Do we need to set any environment variable to execute the test case using the provided command?

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