stephenyeargin / hubot-grafana

📈🤖 Query Grafana dashboards
http://docs.grafana.org/tutorials/hubot_howto/
MIT License
154 stars 48 forks source link

[Windows] Unable to run `npm test` #175

Closed stephenyeargin closed 3 months ago

stephenyeargin commented 4 months ago

Describe the bug

Windows users would like to be able to develop hubot-grafana as well. Recent changes in #171 broke the ability to run tests without configuration changes.

To Reproduce Steps to reproduce the behavior:

  1. Use Windows
  2. Run npm run test in the command line
  3. See error

Expected behavior Tests (and other scripts) should run agnostic of the platform.

Screenshots

image

Software:

Additional context

First reported in comment on #171.

KeesCBakker commented 4 months ago

I'm currently working on https://github.com/stephenyeargin/hubot-grafana/tree/feature/small-refactorings where I fixed it using a dev container. This will keep the local setup clean, while providing a springboard for people that want to help development. Would that work?

KeesCBakker commented 4 months ago

Details here: https://github.com/stephenyeargin/hubot-grafana/tree/feature/small-refactorings/.devcontainer

stephenyeargin commented 4 months ago

That seems reasonable to me. 👍

KeesCBakker commented 3 months ago

Solved by #180