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.

Can't disable telemetry with config or .env

See original GitHub issue

Version

v2.13.0

Reproduction link

https://github.com/nuxt/telemetry

Steps to reproduce

I’ve cloned the project. I’ve tried:

telemetry: false, to the nuxt-config.js file (just above mode: ‘universal’) and NUXT_TELEMETRY_DISABLED=1 in my .env

To check if it is disabled: npx nuxt telemetry status

Both ways are not working for me. telemetry is still enabled. I only can disable it with:

npx nuxt telemetry disable

But I don’t want that extra .nuxtrc file, just to disable it.

What is expected ?

ℹ Nuxt telemetry is disabled on current project

What is actually happening?

ℹ Nuxt telemetry is enabled on current project

<div align="right">This bug report is available on Nuxt community (#c10808)</div>

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
pi0commented, Jun 19, 2020

Hi @tamerkalieh. Setting telemetry: false to nuxt.config or env should be enough. status cannot check .env and nuxt.config with the current version. To ensure it is disabled, you can try NUXT_TELEMTRY_DEBUG if any event is sent it will show it.

0reactions
pi0commented, Jun 26, 2020

Hi. Sorry for the inconvenience. Opt-in/out is documented in nuxt/telemetry docs.

Also, permission denied error should be gone with 1.2.0 (you can use yarn upgrade nuxt to get the update). (It was happening because telemetry generates a random seed used for hash calculation.)

I’m closing issue as should be resolved. Please create new issue on nuxt/telemetry if there was still issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to disable sending telemetry data from Server?
@Omar_Sultan: Hi Everyone, we have a prefect server running on Kubernetes, setup was done using the HELM Chart.
Read more >
Day 12 - Turning off Telemetry Data in .NET Core
You can quickly turn it off on Windows, by running the set DOTNET_CLI_TELEMETRY_OPTOUT=1 from a command prompt. After running the command, you ...
Read more >
How can I turn off Telemetry? - Microsoft Q&A
Click HKEY LOCAL MACHINE > SOFTWARE > Policies > Microsoft > Windows > DataCollection to access it now. Right-click on DataCollection in this ......
Read more >
Disable Telemetry | Services, Registry, Tasks & Group Policy
In this video, I go over how to Disable Telemetry. I show you where it resides in Services, Registry, Scheduled Tasks, and Group...
Read more >
Configure PnP PowerShell
To disable telemetry, set the PNPPOWERSHELL_DISABLETELEMETRY environment variable to true , i.e. by using $env:PNPPOWERSHELL_DISABLETELEMETRY=$true .
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