question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

add environment checking to issue template

See original GitHub issue

The current issue template has this:

Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.

And yet many issues ignore this or format it differently, because it takes time to get all those versions.

I’d like to update the issue_template with envinfo so we can get all of this in one terminal command:

npx envinfo --system --binaries --npmPackages jest

  System:
    OS: macOS High Sierra 10.13
    CPU: x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
    Free Memory: 1.75 GB
    Total Memory: 16.00 GB
    Shell: /usr/local/bin/bash - 4.4.12
  Binaries:
    Node: 8.9.4
    Yarn: 1.3.2
    npm: 5.6.0
    Watchman: 4.9.0
  npmPackages:
    jest:
      wanted: ^22.2.1
      installed: 22.2.1

It can be configured however you like, even return markdown or json and copy directly to the clipboard.

This is already in react-native, CRA, expo, and styled-components, and I think it would be great here too!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rickhanloniicommented, Mar 9, 2018

A preset would be 🔥 we need to make it as easy as possible so people actually use it

0reactions
github-actions[bot]commented, May 12, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add an environment variable to enable quicker template ...
Add an environment variable to enable quicker template development ... Check out the branch locally; Open the www-gitlab-com project ...
Read more >
Syntax for issue forms - GitHub Docs
You can create custom issue forms by adding a YAML form definition file to the /.github/ISSUE_TEMPLATE folder in your repository. If you're new...
Read more >
Creating environment templates - IBM
Procedure · Click Applications > Templates, select your application template, and then click Environment Templates > Create Environment Template. The Create ...
Read more >
Variables - Issue Templates for Jira
Define values​​ To create an issue using a template with variables: Go to your target project, click Create and select the new template....
Read more >
A GitHub Issue Template for Your Projects - Embedded Artistry
Creating an Issue Template for Your Project; My Template ... and found no answer - [ ] I checked to make sure that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found