CodeceptJS icon indicating copy to clipboard operation
CodeceptJS copied to clipboard

codeceptjs init - ReferenceError: helpers is not defined

Open godspeed97 opened this issue 10 years ago • 1 comments

Getting the following error off a fresh install:

npm install -g codeceptjs codeceptjs init

Test root is assumed to be <directory>

  Welcome to CodeceptJS initialization tool
  It will prepare and configure a test environment for you

Installing to <directory>
C:\Users\user_name\AppData\Roaming\npm\node_modules\codeceptjs\lib\command\init
.js:79
        choices: Object.keys(helpers),
                             ^

ReferenceError: helpers is not defined
    at Command.module.exports.inquirer.prompt.result.helpers.forEach.result.help
ers.forEach.packages.forEach (C:\Users\user_name\AppData\Roaming\npm\node_modul
es\codeceptjs\lib\command\init.js:79:30)
...

npm -v = 3.8.2 node -v = 4.3.1 codeceptjs 0.3.0

Also did npm install -g webdriverio & npm install -g selenium-webdriver to see if that might magically fix it, but no luck.

godspeed97 avatar Mar 22 '16 20:03 godspeed97

Thanks. Sorry for this issue, please try to update

DavertMik avatar Mar 23 '16 03:03 DavertMik