Skip to content

Tag: cucumberjs

Failed launching test session: Error: Couldn’t initialise “@wdio/cucumber-framework”

I am setting up the wdio using command “npm init wdio” and try to run the test files. it is giving below error Failed launching test session: Error: Couldn’t initialise “@wdio/cucumber-framework”. [0-0] Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath ‘./lib/formatter/helpers/event_data_collector’ is not defined by Below is my package.json file } Answer I managed to fix this issue by reinstalling node and checking the