Skip to content

Documentation / configuration #3

Closed

Description

@hippee-lee

I'm trying to use this. Out project was previously using the built in html reports from gemini but they removed them last week.

I have my gemini yml configured thus:

system:
  plugins:
    'html-reporter': {
      enabled: true
    }

I've tried running gemini test --reporter html gemini/tests/set1/alert.js but get the followign error:
Error: Cannot find module 'html-reporter' or 'gemini-html-reporter'

html-reporter is installed in my node_modules. I'm sure I am missing something but its hard to say what as using the html reporter as a plugin to gemini seems pretty new.
Any direction to docs would be a big help.

Activity

  1. rostik404 commented on Jun 13, 2017

    @rostik404
    Contributor

    Hi!
    In the last version of gemini, you should not pass option --reporter html, you just need to plug html-reporter in your config file.

    Error: Cannot find module 'html-reporter' or 'gemini-html-reporter' - you can get this error only if html-reporter is not installed in node_modules of your project. Maybe you installed html-reporter in node_modules of gemini?

  2. hippee-lee commented on Jun 13, 2017

    @hippee-lee
    Author

    Thanks for the feedback. I have tried uninstalling / reinstalling html-reporter several times with npm. Here is a screen shot of the following:

    1. .gemini.conf.yml
    2. html-reporter in my node_modules folder
    3. THe Error I get when running gemini test gemini/tests/set1/alert.js

    Is there anything else I can do to help diagnose this issue?
    screen shot 2017-06-13 at 8 19 36 am

  3. rostik404 commented on Jun 14, 2017

    @rostik404
    Contributor

    Have you tried to install html-reporter in the same node_modules directory as gemini? I don't see gemini in node_modules on your screenshot.

  4. hippee-lee commented on Jun 14, 2017

    @hippee-lee
    Author

    You sir are correct. installing it with npm install -g html-reporter solved my issue.
    Makes sense that they would need to be installed in the same place (duh). Sorry i missed that.

    Thank you for your time and help.

  5. added a commit that references this issue on Jul 15, 2025
    60cefcb
  6. added a commit that references this issue on Jul 15, 2025
    dd3da05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions