Git Product home page Git Product logo

Comments (9)

christian-bromann avatar christian-bromann commented on May 29, 2024

@restagner can you try with latest version again? This error was not reported anywhere else. Might just be something temporary?

from create-wdio.

christian-bromann avatar christian-bromann commented on May 29, 2024

Closing due to inactivity.

from create-wdio.

Spiral-Galaxy-28948 avatar Spiral-Galaxy-28948 commented on May 29, 2024

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.

christian-bromann avatar christian-bromann commented on May 29, 2024

@Spiral-Galaxy-28948 can you provide a reproducible example?

from create-wdio.

Spiral-Galaxy-28948 avatar Spiral-Galaxy-28948 commented on May 29, 2024

Here you go @christian-bromann https://github.com/Spiral-Galaxy-28948/wdio-cucumber.git

from create-wdio.

christian-bromann avatar christian-bromann commented on May 29, 2024

@Spiral-Galaxy-28948 this example passes for me without any errors.

from create-wdio.

Spiral-Galaxy-28948 avatar Spiral-Galaxy-28948 commented on May 29, 2024

@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.

christian-bromann avatar christian-bromann commented on May 29, 2024

No idea sorry.

from create-wdio.

Spiral-Galaxy-28948 avatar Spiral-Galaxy-28948 commented on May 29, 2024

Cool. Cheers for checking it out.

from create-wdio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.