You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue template seems to reserve a lot of space for trying to replicate and lock down issues from differing environments. Generally we want to make the process easier to ensure we get quality bug reports, so if the maintainers of the project agree, I'd like to integrate my envinfo package into CRA, the same way I already have for react-native.
Something like this:
create-react-app --info in a project will yield something like this:
This would help with the environment section of the issue template
### Environment
<!--
Please fill in all the relevant fields by running these commands in terminal.
-->
1. `node -v`:
2. `npm -v`:
3. `yarn --version` (if you use Yarn):
4. `npm ls react-scripts` (if you haven’t ejected):
Then, specify:
1. Operating system:
2. Browser and version (if relevant):
But would require an update to CRA itself to work.
Indeed - react native already has similar and it has worked amazingly well - you can see it in action in their issues. They even have a bot to auto close issues missing the template and environment.
The only additional thing they would have to add is browser+version.
react-native had the same issue where it was only available starting on version 0.48, but it was a good reason to get people to upgrade, and frequently solved their problem before even fully reporting the issue.
If we believe it's worth it, I will make 2 PRs - one to add the CLI command, then another to add the updated instructions to the issue template, once the first PR is merged and there has been some time to update.
Activity
bondz commentedon Nov 1, 2017
This would help with the environment section of the issue template
But would require an update to CRA itself to work.
tabrindle commentedon Nov 2, 2017
Indeed - react native already has similar and it has worked amazingly well - you can see it in action in their issues. They even have a bot to auto close issues missing the template and environment.
The only additional thing they would have to add is browser+version.
react-native had the same issue where it was only available starting on version 0.48, but it was a good reason to get people to upgrade, and frequently solved their problem before even fully reporting the issue.
If we believe it's worth it, I will make 2 PRs - one to add the CLI command, then another to add the updated instructions to the issue template, once the first PR is merged and there has been some time to update.
bondz commentedon Nov 3, 2017
Personally, I like it.
Also #3385 seems to be going the direction of adding a flag like this one.
cc @Timer
tabrindle commentedon Nov 10, 2017
I have a PR for the change to the CLI - #3408. I think we close this issue once that and my changes to the issue template get merged.
tabrindle commentedon Jan 22, 2018
I think its safe to close this issue now - both the implementation and docs are merged!
Thanks guys!