webdriverio-community / wdio-html-reporter

Fork of wdio-html-format-reporter
MIT License
18 stars 27 forks source link

Cannot find module './reporter' #21

Closed jaquith closed 4 years ago

jaquith commented 4 years ago

I just stumbled on this fork - really glad that v5 is supported!

I tried to get it running, but I keep hitting this error:

2020-03-17T11:09:24.943Z ERROR @wdio/config:ConfigParser: Failed loading configuration file: /Users/calebjaquith/.git/webdriverio-standalone/wdio.conf.min.js: Cannot find module './reporter'
Require stack:
- /Users/calebjaquith/.git/webdriverio-standalone/node_modules/@rpii/wdio-html-reporter/build/index.js
- /Users/calebjaquith/.git/webdriverio-standalone/wdio.conf.min.js
- /Users/calebjaquith/.git/webdriverio-standalone/node_modules/@wdio/config/build/lib/ConfigParser.js
- /Users/calebjaquith/.git/webdriverio-standalone/node_modules/@wdio/config/build/index.js
- /Users/calebjaquith/.git/webdriverio-standalone/node_modules/@wdio/cli/build/launcher.js
- /Users/calebjaquith/.git/webdriverio-standalone/node_modules/@wdio/cli/build/index.js
- /Users/calebjaquith/.git/webdriverio-standalone/node_modules/@wdio/cli/bin/wdio.js

I'm using 0.8.8 - any idea what I'm doing wrong? If I remove this reporter everything is fine.

rpii commented 4 years ago

for now, use version 8.6. I am working on reverting that change

On Tue, Mar 17, 2020 at 4:33 AM Caleb Jaquith notifications@github.com wrote:

I just stumbled on this fork - really glad that v5 is supported!

I tried to get it running, but I keep hitting this error:

`2020-03-17T11:09:24.943Z ERROR @wdio/config:ConfigParser: Failed loading configuration file: /Users/calebjaquith/.git/webdriverio-standalone/wdio.conf.min.js: Cannot find module './reporter' Require stack:

- /Users/calebjaquith/.git/webdriverio-standalone/node_modules/@rpii/wdio-html-reporter/build/index.js

  • /Users/calebjaquith/.git/webdriverio-standalone/wdio.conf.min.js
  • /Users/calebjaquith/.git/webdriverio-standalone/node_modules/@wdio/config/build/lib/ConfigParser.js

  • /Users/calebjaquith/.git/webdriverio-standalone/node_modules/@wdio/config/build/index.js

  • /Users/calebjaquith/.git/webdriverio-standalone/node_modules/@wdio/cli/build/launcher.js

  • /Users/calebjaquith/.git/webdriverio-standalone/node_modules/@wdio/cli/build/index.js

  • /Users/calebjaquith/.git/webdriverio-standalone/node_modules/@wdio/cli/bin/wdio.js`

I'm using 0.8.8 - any idea what I'm doing wrong? If I remove this reporter everything is fine.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rpii/wdio-html-reporter/issues/21, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEABIEOJJBFRNOW4O6PXH4LRH5NWBANCNFSM4LNKKO5Q .

jaquith commented 4 years ago

Excellent, working.

I should've put it together based on this - many thanks for the quick response!