Skip to content

Issue while running code in parallel configuration #21

@rahulsingh3005

Description

@rahulsingh3005

Hi Team,

Tried running code for parallel config. Below is the error stack I am getting on console. Need help. Am I missing out some configuration?

c:\Users\rsingh\cucumber-js-browserstack-master>npm run parallel

[email protected] parallel c:\Users\rsingh\cucumber-js-browserstack-master
cross-env CONFIG_FILE=parallel ./scripts/cucumber-runner.js features/single.feature

events.js:298
throw er; // Unhandled 'error' event
^

Error: spawn /usr/bin/env ENOENT
←[90m at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)←[39m
←[90m at onErrorNT (internal/child_process.js:467:16)←[39m
←[90m at processTicksAndRejections (internal/process/task_queues.js:84:21)←[39m
Emitted 'error' event on ChildProcess instance at:
←[90m at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12)←[39m
←[90m at onErrorNT (internal/child_process.js:467:16)←[39m
←[90m at processTicksAndRejections (internal/process/task_queues.js:84:21)←[39m {
errno: ←[33m-4058←[39m,
code: ←[32m'ENOENT'←[39m,
syscall: ←[32m'spawn /usr/bin/env'←[39m,
path: ←[32m'/usr/bin/env'←[39m,
spawnargs: [
←[32m'node'←[39m,
←[32m'./node_modules/.bin/cucumber-js'←[39m,
←[32m'features/single.feature'←[39m
]
}
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
npm ERR!
npm ERR! Failed at the [email protected] parallel script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! \servfs\RDSFolderRedirection$\rsingh\Application Data\npm-cache_logs\2020-03-12T09_52_33_612Z-debug.log

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