Can't disable telemetry with config or .env
See original GitHub issueVersion
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:
- Created 3 years ago
- Reactions:3
- Comments:6 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @tamerkalieh. Setting
telemetry: false
tonuxt.config
or env should be enough.status
cannot check.env
andnuxt.config
with the current version. To ensure it is disabled, you can tryNUXT_TELEMTRY_DEBUG
if any event is sent it will show it.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.