Comments (9)
@restagner can you try with latest version again? This error was not reported anywhere else. Might just be something temporary?
from create-wdio.
Closing due to inactivity.
from create-wdio.
Morning @christian-bromann, we're starting to implement webdriverIO, but also getting this error:
[0-0] 2022-07-26T08:41:50.411Z ERROR @wdio/local-runner: 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 "exports" in H:\git-projects\test-rlggtc-wdio_cucumber\node_modules@cucumber\cucumber\package.json
[0-0] at applyExports (internal/modules/cjs/loader.js:490:9)
[0-0] at resolveExports (internal/modules/cjs/loader.js:506:23)
[0-0] at Function.Module._findPath (internal/modules/cjs/loader.js:634:31)
[0-0] at Function.Module._resolveFilename (internal/modules/cjs/loader.js:952:27)
[0-0] at Function.Module._load (internal/modules/cjs/loader.js:841:27)
[0-0] at Module.require (internal/modules/cjs/loader.js:1025:19)
[0-0] at require (internal/modules/cjs/helpers.js:72:18)
[0-0] at Object. (H:\git-projects\test-rlggtc-wdio_cucumber\node_modules@wdio\cucumber-framework\build\index.js:54:48)
[0-0] at Module._compile (internal/modules/cjs/loader.js:1137:30)
[0-0] at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
[0-0] at safeRequire (H:\git-projects\test-rlggtc-wdio_cucumber\node_modules@wdio\utils\build\utils.js:192:15)
[0-0] at initialisePlugin (H:\git-projects\test-rlggtc-wdio_cucumber\node_modules@wdio\utils\build\initialisePlugin.js:30:50)
[0-0] at Runner.run (H:\git-projects\test-rlggtc-wdio_cucumber\node_modules@wdio\runner\build\index.js:82:56)
[0-0] at processTicksAndRejections (internal/process/task_queues.js:97:5)
We're using wdio/cucumber-framework 7.20.3 and wdio/local-runner 7.20.2 on node 12.18.3. I was hoping it was just me, but my colleagues are getting it also.
Any suggestions on how to resolve it? Cheers.
from create-wdio.
@Spiral-Galaxy-28948 can you provide a reproducible example?
from create-wdio.
Here you go @christian-bromann https://github.com/Spiral-Galaxy-28948/wdio-cucumber.git
from create-wdio.
@Spiral-Galaxy-28948 this example passes for me without any errors.
from create-wdio.
@christian-bromann, I thought you might say that. It passes on my personal machine, but not on my work one (cucumber tests worked when I was researching the tool set). Can you think of any environmental reasons - we use virtual windows 10 machines - why this error could occur? As far as I can tell from digging into the data_collector package the export is defined.
from create-wdio.
No idea sorry.
from create-wdio.
Cool. Cheers for checking it out.
from create-wdio.
Related Issues (20)
- Wrong file structure in existing TypeScript projects HOT 1
- [🐛 Bug]: starter project generated with @wdio/cli does not run HOT 12
- [🐛 Bug]: bin/wdio clashes between packages wdio and @wdio/cli HOT 5
- Increase test coverage
- Is yarn now a requirement? HOT 5
- Unable to open Allure report. Getting ERR_EMPTY_RESPONSE error. HOT 3
- Cancelling the configuration wizard still returns success message HOT 1
- thread absolute path as absolute path HOT 1
- Types are missing in TypeScript project when generated with wdio HOT 1
- [🐛 Bug]: Using starter toolkit does not work using yarn HOT 7
- [🐛 Bug]: wdio8 starter project is not working with typescript HOT 11
- can not generate package.json in the target folder, always added in /Users/administrator folder HOT 9
- Allow to force install through NPM
- Unable to install WebDriverIO for my new Project HOT 2
- [HELP] Can this create same thing in ts-script instead of javascript HOT 1
- Running npm init wdio@latest ./e2e gives errors HOT 2
- [🐛 Bug]: Fix configuration wizard workflow when using `pnpm` HOT 1
- [🐛 Bug]: Can't install on Windows in monrepo HOT 1
- [🐛 Bug]: npm script refers to wrong config when using TypeScript HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from create-wdio.