Trying to start codecept-ui results in error Instead change the require of index.js, to a dynamic import() which is available in all CommonJS modules. Pointing to lib/codeceptjs/realtime-reporter.helper.js