Skip to content

TypeError: Path must be a string. Received undefined #192

@bene-starzengruber

Description

@bene-starzengruber

Hello :)

I just tried out your example from
https://github.com/TheBrainFamily/cypress-cucumber-webpack-typescript-example

I executed "npm install" and then tried to run the tests "npm run test" and the result was

Oops...we found an error preparing this test file:

  cypress\integration\WebPack.feature

The error was:

./cypress/integration/WebPack.feature
Module build failed (from ./node_modules/cypress-cucumber-preprocessor/loader.js):
TypeError: Path must be a string. Received undefined
 @ multi ./cypress/integration/WebPack.feature main[0]

This occurred while Cypress was compiling and bundling your test code. This is usually caused by:

- A missing file or dependency
- A syntax error in the file or one of its dependencies

Fix the error in your code and re-run your tests.

Br, bene

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions