We are encountering a type error in our monorepo setup when setting telemetry: false in the nuxt.config.ts file.
Error Details:
When telemetry: false is added to the configuration, we see the following error:
Type 'false' has no properties in common with type 'Partial<TelemetryOptions>'.(2559)
schema.d.ts(21, 5): The expected type comes from property 'telemetry' which is declared here on type 'InputConfig<NuxtConfig, ConfigLayerMeta>'
(property) NuxtConfig["telemetry"]?: Partial<TelemetryOptions> | undefined
This issue persists in our monorepo even after running nuxt prepare. However, I was able to reproduce this with a fresh Nuxt project on Stackblitz, but the error appears only on the first run.
Once the nuxt prepare step is ran a second time in Stackblitz, the error no longer occurs.
We are encountering a type error in our monorepo setup when setting
telemetry: false
in thenuxt.config.ts
file.Error Details:
When
telemetry: false
is added to the configuration, we see the following error:This issue persists in our monorepo even after running
nuxt prepare
. However, I was able to reproduce this with a fresh Nuxt project on Stackblitz, but the error appears only on the first run. Once thenuxt prepare
step is ran a second time in Stackblitz, the error no longer occurs.Steps to Reproduce:
nuxt.config.ts
, addtelemetry: false,
.Additional Notes:
In the monorepo, the error persists despite running
nuxt prepare
multiple times.https://github.com/user-attachments/assets/e2c2943d-6ea5-4eec-803a-d228fc0f6f1b