TypeError: Path must be a string. Received undefined
See original GitHub issueHello 😃
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
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Jest TypeError: Path must be a string. Received undefined
I solved this issue using: npm uninstall -g jest; npm install -g jest; npm cache clean; npm install.
Read more >"Path must be a string. Received undefined" #144 - zkat/npx
Happy to try to help. The reason people all over www get 'Path must be a string' in Windows is because it it...
Read more >path must be a string. received undefined when building a ...
I'm attempting to build a xamarin.ios project on a hosted agent. The project builds fine on a private agent we use, but in...
Read more >Path must be a string. Received undefined - node-steam-user
Stack Trace: TypeError: Path must be a string. Received undefined at assertPath (path.js:28:11) at Object.join (path.js:489:7) at userData ...
Read more >Meteor 1.5.2 TypeError: Path must be a string. Received ...
Meteor 1.5.2 TypeError: Path must be a string. Received undefined ... When I do meteor build and deploy to server, I get this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We have a similar problem with version 1.13.0:
Works with 1.12.0 so we stick to that version for now.
I also updated the example. I’m thinking that we should run all the example repos on CI with every new version, to prevent mess-ups like this one.