You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to run cucumber-js --format html:html-formatter.html, I get the following error:
Error: Cannot find module '/Users/myproject/html'
Require stack:
- /Users/myproject/node_modules/@cucumber/cucumber/lib/formatter/builder.js
- /Users/myproject/node_modules/@cucumber/cucumber/lib/cli/index.js
- /Users/myproject/node_modules/@cucumber/cucumber/lib/cli/run.js
- /Users/myproject/node_modules/@cucumber/cucumber/bin/cucumber-js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:793:17)
at Function.Module._load (internal/modules/cjs/loader.js:686:27)
at Module.require (internal/modules/cjs/loader.js:848:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.loadCustomFormatter (/Users/myproject/node_modules/@cucumber/cucumber/lib/formatter/builder.js:74:33)
at Object.getConstructorByType (/Users/myproject/node_modules/@cucumber/cucumber/lib/formatter/builder.js:55:41)
at Object.build (/Users/myproject/node_modules/@cucumber/cucumber/lib/formatter/builder.js:23:55)
at /Users/myproject/node_modules/@cucumber/cucumber/lib/cli/index.js:96:38
Looking at the published source, there is no option for html in the switch statement - so it falls back to assuming html is a custom formatter.
Hi,
Version:
"@cucumber/cucumber": "7.0.0-rc.0"
(package.json)When attempting to run
cucumber-js --format html:html-formatter.html
, I get the following error:Error: Cannot find module '/Users/myproject/html' Require stack: - /Users/myproject/node_modules/@cucumber/cucumber/lib/formatter/builder.js - /Users/myproject/node_modules/@cucumber/cucumber/lib/cli/index.js - /Users/myproject/node_modules/@cucumber/cucumber/lib/cli/run.js - /Users/myproject/node_modules/@cucumber/cucumber/bin/cucumber-js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:793:17) at Function.Module._load (internal/modules/cjs/loader.js:686:27) at Module.require (internal/modules/cjs/loader.js:848:19) at require (internal/modules/cjs/helpers.js:74:18) at Object.loadCustomFormatter (/Users/myproject/node_modules/@cucumber/cucumber/lib/formatter/builder.js:74:33) at Object.getConstructorByType (/Users/myproject/node_modules/@cucumber/cucumber/lib/formatter/builder.js:55:41) at Object.build (/Users/myproject/node_modules/@cucumber/cucumber/lib/formatter/builder.js:23:55) at /Users/myproject/node_modules/@cucumber/cucumber/lib/cli/index.js:96:38
Looking at the published source, there is no option for
html
in the switch statement - so it falls back to assuminghtml
is a custom formatter.Here is the merged PR for #1432
... but the change isn't in the source for the released hash
The text was updated successfully, but these errors were encountered: