Closed
Description
👓 What did you see?
There is a bug causing "It looks like you're running Cucumber from a global installation." message to occur when the following conditions occur:
- On a windows machine
- Running a cucumber test using an
npm
script defined in package.json - Running the
npm
script using--prefix
.
✅ What did you expect to see?
No error message should occur on Windows, if the --prefix
directory is correct.
📦 Which tool/library version are you using?
latest
🔬 How could we reproduce it?
Please see an example of the bug that can be easily replicated here:
https://github.com/arbughiu/cucumber-windows-npm-prefix
Metadata
Metadata
Assignees
Labels
No labels