telemetry icon indicating copy to clipboard operation
telemetry copied to clipboard

doesnt work with nuxt v3?

Open gilzow opened this issue 1 year ago • 1 comments

in version 2 of nuxtjs I could do

npx nuxt telemetry disable

To disable telemetry. I'm now on a v3 nuxtjs project (v3.6.5) and doing the above now produces

❯ npx nuxt telemetry disable
Nuxi 3.6.5                                                                                                                                                                                                                                                                                                                                                                                           

Invalid command telemetry
Usage: npx nuxi dev|build|build-module|cleanup|clean|preview|start|analyze|generate|prepare|typecheck|usage|info|init|create|devtools|upgrade|test|add|new [args]                                     3:28:12 PM

Use npx nuxi [command] --help to see help for each command

The nuxtjs docs on telemetry just point to this repository.

Is disabling telemetry no longer an option? Or has the command for doing so changed?

gilzow avatar Jul 26 '23 20:07 gilzow

We currently are working to get the telemetry subcommand working in Nuxt. (It will be possible with new https://github.com/nuxt/cli package.)

For now you can run npx @nuxt/telemetry disable instead.

danielroe avatar Aug 03 '23 11:08 danielroe

I've updated the docs here, so will close this issue.

Linking https://github.com/nuxt/cli/issues/62 as we can revert back to that command once nuxi supports it.

danielroe avatar Jun 04 '24 10:06 danielroe