Search code examples
pluginscodeceptjs

unable to run allure on codeceptjs


I am trying to run

codeceptjs run --plugins allure

but getting an error

error: unknown option `--plugins'

I added the plugins to codecept.json with enable true, did all what written on https://codecept.io/plugins/#allure

but still getting this error.


Solution

  • please check your packages to make sure you're using the latest version of codeceptjs. Cause allure plugins is introduced since 1.4.1. https://www.npmjs.com/package/codeceptjs