Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No telemetry message on first run #12871

Closed
millette opened this issue Mar 26, 2019 · 4 comments
Closed

No telemetry message on first run #12871

millette opened this issue Mar 26, 2019 · 4 comments

Comments

@millette
Copy link
Contributor

Just upgraded an existing project to Gatsby 2.3.0 and there was no prompt to send or disable telemetry data.

Running with GATSBY_TELEMETRY_DEBUG=1 shows a few Captured events.

@DSchau
Copy link
Contributor

DSchau commented Mar 26, 2019

@millette were you using yarn?

Yarn seems to have a bug where a postinstall script isn't invoked.

We've fixed the issue here so that all users see the prompt! We've published the fix in gatsby-telemetry@1.0.1 which is required by gatsby@2.3.1.

Going to close this out, but thanks for the note and sorry about the little blip, here!

@DSchau DSchau closed this as completed Mar 26, 2019
@millette
Copy link
Contributor Author

millette commented Mar 26, 2019

@DSchau Thanks for the quick response. Yes, using yarn I tried again with gatsby 2.3.1, verified it upgraded telemetry to 1.0.1 and ran gatsby build but there still was no mention of telemetry.

@millette
Copy link
Contributor Author

millette commented Mar 26, 2019

Also tried 2.3.2, still no telemetry prompt or message. Then I noticed the new file ~/.config/gatsby/config.json and when I removed it, I finally saw the telemetry message.

Since a few people might have installed 2.3 without seeing a message, may I suggest a confirmed field in config.json and display the message if it's not set. This way, the message will appear for those who have missed it. Feel free to close (again) if you don't think this precaution is necessary.

@millette millette reopened this Mar 26, 2019
@millette millette changed the title No telemetry prompt on first run No telemetry message on first run Mar 30, 2019
@wardpeet
Copy link
Contributor

We're not going to put much effort on this one as we have fixed the issue for new users and also made sure all info is anonymous. There is always the option to bail out.

We'll also create a blog post about telemetry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants