Skip to content

"undefined undefined" error when bdd:init #4350

Closed
@julien-binard

Description

@julien-binard

What are you trying to achieve?

Since version 3.6.2 (was working in 3.6.1), when you enable gherkin/bdd, an error occurs on updating the configuration to add the gherkin part with "undefined undefined"
Reproduced on both linux & windows.

What do you get instead?

Provide console output if related. Use --verbose mode for more details.

npx codeceptjs bdd:init

Output :

Initializing Gherkin (Cucumber BDD) for CodeceptJS
--------------------------
Created /config/workspace/features, place your *.feature files in it
Created sample feature file: features/basic.feature
Created /config/workspace/step_definitions, place step definitions into it
Created sample steps file: step_definitions/steps.js

codecept.conf.js config can't be updated automatically
Please update it manually:

undefined: undefined

Gherkin setup is done.
Start writing feature files and implement corresponding steps.

Details

codeceptVersion:  "3.6.2"
nodeInfo:  14.21.3
osInfo:  Linux 6.1 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
cpuInfo:  (12) x64 AMD Ryzen 5 5600GT with Radeon Graphics
chromeInfo:  Not Found
edgeInfo:  "N/A"
firefoxInfo:  undefined
safariInfo:  N/A

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