nuxt / telemetry

Nuxt Telemetry
MIT License
205 stars 23 forks source link

doesnt work with nuxt v3? #106

Closed gilzow closed 3 months ago

gilzow commented 1 year ago

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?

danielroe commented 1 year ago

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 commented 3 months ago

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.