failed, and instructions to init using the same command as failed
Provide console output if related. Use --verbose mode for more details.
cb@LAP-CARINEB:~$ npm run codeceptjs init
> codeceptjs-tests@0.1.0 codeceptjs /home/cb
> codeceptjs run --steps "init"
Error: Can not load config from /home/cb/codecept.conf.js or /home/cb/codecept.json
CodeceptJS is not initialized in this dir. Execute 'codeceptjs init' to start
at Function.load (/home/cb/node_modules/codeceptjs/lib/config.js:80:11)
at module.exports.getConfig (/home/cb/node_modules/codeceptjs/lib/command/utils.js:15:33)
at Command.module.exports (/home/cb/node_modules/codeceptjs/lib/command/run.js:14:16)
at Command.listener (/home/cb/node_modules/codeceptjs/node_modules/commander/index.js:315:8)
at Command.emit (events.js:315:20)
at Command.parseArgs (/home/cb/node_modules/codeceptjs/node_modules/commander/index.js:651:12)
at Command.parse (/home/cb/node_modules/codeceptjs/node_modules/commander/index.js:474:21)
at Object.<anonymous> (/home/cb/node_modules/codeceptjs/bin/codecept.js:189:9)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! codeceptjs-tests@0.1.0 codeceptjs: `codeceptjs run --steps "init"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the codeceptjs-tests@0.1.0 codeceptjs 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! /home/cb/.npm/_logs/2020-10-24T15_15_36_269Z-debug.log
Details
Initial installation with the create-codeceptjs script
npm upgrade to get v3.0.1 with the fix
What are you trying to achieve?
Getting started initializing a tests directory
What do you get instead?
failed, and instructions to init using the same command as failed
Details
Initial installation with the create-codeceptjs script npm upgrade to get v3.0.1 with the fix
Logfile