timjroberts / cucumber-js-tsflow

Provides 'specflow' like bindings for Cucumber.js in TypeScript 1.7+.
MIT License
133 stars 34 forks source link

WebPack error #17

Closed connelhooley closed 5 years ago

connelhooley commented 7 years ago

I'm trying to use Cucumber JS with the Angular CLI. By default the CLI uses Jasmine and Karma. I've installed a Cucumber JS plugin for Karma. The CLI is compiling my project using Webpack.

I'm getting the following warnings then an error when I import the package (even without using it):

WARNING in ./~/cucumber-tsflow/index.js 3:24 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted Chrome 54.0.2840 (Windows 10 0.0.0) ERROR

I've googled it and it appears to be a Webpack warning although I'm not entirely sure what it means!

mikehaas763 commented 5 years ago

I don't think this happens anymore with the new build