0

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.

Vitaly Menchikovsky
  • 7,684
  • 17
  • 57
  • 89

2 Answers2

0

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

Thanh
  • 16
0
  1. Make sure you have installed Java 8 or a later version.
  2. Make sure you have successfully installed allure-commandline by running:

npm install -g allure-commandline --save-dev

  1. Allure plugin must be added to codecept.conf's plugins section as documentation states
aefluke
  • 190
  • 1
  • 5