RudyS
RudyS

Reputation: 31

Error: spawn cucumber-json-formatter ENOENT (linux)

i need your help for this :

An error was thrown in your plugins file while executing the handler for the after:run event.

The error we received was:

Error: spawn cucumber-json-formatter ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:478:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

Thanks guys !

Upvotes: 3

Views: 2163

Answers (1)

jose_manuel_cordero
jose_manuel_cordero

Reputation: 36

I got this same error when upgraded to the last version of the @badeball/cypress-cucumber-preprocessor because it was missing the cucumber-json-formatter that according to the documentation must be configured. Once I added, the issue gone.

Upvotes: 1

Related Questions